Lp.ProblemModule for the optimization problem (model).
module Pclass : sig ... endModule for the optimization problem class.
module Vars : sig ... endval make : ?name:string -> Objective.t -> Cnstr.t list -> tMake problem from an Objective.t and a constraint (Cnstr.t) list. String name can be given optionally.
val name : t -> string optionGet name of the problem.
val objective : t -> Objective.tTake Objective.t of the problem.
val obj_cnstrs : t -> Objective.t * Cnstr.t listGet problem content as a pair of Objective.t and constraint (Cnstr.t) list.
Make list of variables with unique structure (name and attributes) in the problem.
val collision : t -> boolCheck whether a collision (a variable with same name but different attributes) exists in the problem.
val vname_list : t -> string listMake list of (unique) variable names in the problem.
val validate : t -> boolValidate the problem. true (false) means the problem is valid (invalid).
val to_string : ?short:bool -> t -> stringExpress the problem in LP file format string.