Lp.ObjectiveModule for the objective.
Build an objective to maximize a polynomial. The polynomial is simplified (Poly.simplify) on build. eps specifies the threshold of near-zero, defaulting to 10. *. epsilon_float.
Build an objective to minimize a polynomial. The polynomial is simplified (Poly.simplify) on build. eps specifies the threshold of near-zero, defaulting to 10. *. epsilon_float.
val to_string : ?short:bool -> t -> stringGet string expression (LP file format) of the objective.
with_bound name lb ub transforms the bounds of the variable name with lb and ub.
to_integer name transforms the variable name into general integer variable.
val degree : t -> intGet degree of the objective.
val is_max : t -> boolTrue (false) if the objective is of maximize (minimize).