Optimising under arbitrarily many constraint equations — LessWrong