Skip to content

Add expression engine #45

Description

@Jvanrhijn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions