net.sourceforge.combean.interfaces.mathprog.lp
Interface MIPSolver

Package class diagram package MIPSolver
All Superinterfaces:
LPSolver
All Known Implementing Classes:
OsiSolverInterfaceAsLPSolver

public interface MIPSolver
extends LPSolver


Field Summary
 
Fields inherited from interface net.sourceforge.combean.interfaces.mathprog.lp.LPSolver
LPOBJ_COUNT, LPOBJ_MAX, LPOBJ_MIN, LPOBJ_UNDEFINED, LPSTAT_COUNT, LPSTAT_FAILURE, LPSTAT_INFEASIBLE, LPSTAT_SOLVED, LPSTAT_UNBOUNDED, LPSTAT_UNDEFINED
 
Method Summary
 int addIntVariable(LPVariable variable)
          Add an integer variable to the LP problem.
 void solveMIP()
           
 
Methods inherited from interface net.sourceforge.combean.interfaces.mathprog.lp.LPSolver
addColumn, addConstraint, addRow, addVariable, freeze, getNumColumns, getNumRows, getSolution, getSolutionStatus, getSolutionValue, setInitialDimensions, setObjective, solve
 

Method Detail

addIntVariable

int addIntVariable(LPVariable variable)
Add an integer variable to the LP problem. The corresponding column in the constraint matrix is filled with zero values.

Parameters:
variable - the variable to be added.
Returns:
the number of the corresponding column of the LP (counting from zero)

solveMIP

void solveMIP()