Many LP optimizers include an expression engine for creating LP's in a way that resembles their mathematical formulation. We may want to add one at some point, allowing expressions like
Var x, y, z;
Objective o = Objective::maximize(x + y + z);
Constr c = x + 3.0*y + 4.0*z <= 10.0;
solver.linear_program().set_objective(c);
solver.linear_program().add_constraint(c);
//etc
Many LP optimizers include an expression engine for creating LP's in a way that resembles their mathematical formulation. We may want to add one at some point, allowing expressions like