25 package parma_polyhedra_library;
114 public native
void free();
158 public native
boolean OK();
169 public native
void clear();
native void finalize()
Releases all resources managed by this.
native boolean OK()
Checks if all the invariants are satisfied.
A java.util.TreeSet of variables' indexes.
native long space_dimension()
Returns the space dimension of the MIP problem.
native void build_cpp_object(long dim)
Builds the underlying C++ object.
Possible values for MIP problem's control parameters.
Names of MIP problems' control parameters.
native void add_constraint(Constraint c)
Adds a copy of constraint c to the MIP problem.
native void set_objective_function(Linear_Expression obj)
Sets the objective function to obj.
native String ascii_dump()
Returns an ascii formatted internal representation of this.
MIP_Problem(long dim, Constraint_System cs, Linear_Expression obj, Optimization_Mode mode)
Builds an MIP problem having space dimension dim from the constraint system cs, the objective functio...
native void evaluate_objective_function(Generator evaluating_point, Coefficient num, Coefficient den)
Sets num and den so that is the result of evaluating the objective function on evaluating_point.
A line, ray, point or closure point.
native Control_Parameter_Value get_control_parameter(Control_Parameter_Name name)
Returns the value of control parameter name.
native long max_space_dimension()
Returns the maximum space dimension an MIP_Problem can handle.
native Generator feasible_point()
Returns a feasible point for this, if it exists.
Possible outcomes of the MIP_Problem solver.
Smart pointer to a PPL, C++ object.
native void add_to_integer_space_dimensions(Variables_Set i_vars)
Sets the variables whose indexes are in set i_vars to be integer space dimensions.
native void optimal_value(Coefficient num, Coefficient den)
Sets num and den so that is the solution of the optimization problem.
MIP_Problem(MIP_Problem y)
Builds a copy of y.
Possible optimization modes.
native Generator optimizing_point()
Returns an optimal point for this, if it exists.
native String toString()
Returns a string representation of this.
A Mixed Integer (linear) Programming problem.
native long total_memory_in_bytes()
Returns the total size in bytes of the memory occupied by the underlying C++ object.
native void add_constraints(Constraint_System cs)
Adds a copy of the constraints in cs to the MIP problem.
native Constraint_System constraints()
Returns the constraints .
native void set_control_parameter(Control_Parameter_Value value)
Sets control parameter value.
native MIP_Problem_Status solve()
Optimizes the MIP problem.
native void clear()
Resets this to be equal to the trivial MIP problem.
native boolean is_satisfiable()
Checks satisfiability of this.
native void add_space_dimensions_and_embed(long m)
Adds m new space dimensions and embeds the old MIP problem in the new vector space.
native Linear_Expression objective_function()
Returns the objective function.
native Optimization_Mode optimization_mode()
Returns the optimization mode.
MIP_Problem(long dim)
Builds a trivial MIP problem.
native Variables_Set integer_space_dimensions()
Returns a set containing all the variables' indexes constrained to be integral.
native void free()
Releases all resources managed by this, also resetting it to a null reference.
A linear equality or inequality.
native void set_optimization_mode(Optimization_Mode mode)
Sets the optimization mode to mode.