public class LPEngineLpSolveDisposableImpl extends LPEngineLpSolveImpl
LPEngine.EngineType, LPEngine.ObjectiveTargetType, LPEngine.Operator, LPEngine.VariableType
engine, lock
Constructor and Description |
---|
LPEngineLpSolveDisposableImpl() |
LPEngineLpSolveDisposableImpl(int rows,
int columns) |
Modifier and Type | Method and Description |
---|---|
LPEngine.EngineType |
engineType()
Returns what engineType is actually used by the implementing class.
|
boolean |
isFeasible()
Assess whether is at least one solution
|
void |
setup() |
java.util.Map<java.lang.Integer,java.lang.Double> |
solve()
Solve the LP and return the best variable assignment
|
org.processmining.framework.util.Pair<java.util.Map<java.lang.Integer,java.lang.Double>,java.lang.Double> |
solveAndValue()
Solve the LP and return the best variable assignment and the assignment
value.
|
org.processmining.framework.util.Pair<double[],java.lang.Double> |
solveAndValueNative()
Solve the LP and return the best variable assignment and the assignment
value.
|
double[] |
solveNative()
Solve the LP and return the best variable assignment
|
accept, addConstraint, addConstraint, addVariable, addVariable, boolCheck, clone, destroy, emptyConstraint, emptyVariable, getVariableLowerBound, getVariableUpperBound, init, intCheck, mapToIndexValueArrayPair, minimalConstraintIndex, minimalVariableIndex, numConstraints, numVariables, pop, print, removeConstraint, removeVariable, setConstraint, setConstraint, setConstraint, setConstraint, setConstraintOperator, setEngine, setLowerBound, setMat, setObjective, setObjective, setObjectiveType, setRightHandSide, setTimeOut, setType, setUpperBound, solveAndResetAndValueNative, solveValueNativeSolveTimeNano, valueMatchesType, variableMapToArray, variableMatchesType, variableMatchesType, writeToFile
public LPEngineLpSolveDisposableImpl()
public LPEngineLpSolveDisposableImpl(int rows, int columns)
public void setup()
setup
in class LPEngineLpSolveImpl
public LPEngine.EngineType engineType()
LPEngine
engineType
in interface LPEngine
engineType
in class LPEngineLpSolveImpl
public boolean isFeasible()
LPEngine
isFeasible
in interface LPEngine
isFeasible
in class LPEngineLpSolveImpl
public java.util.Map<java.lang.Integer,java.lang.Double> solve()
LPEngine
solve
in interface LPEngine
solve
in class LPEngineLpSolveImpl
public org.processmining.framework.util.Pair<java.util.Map<java.lang.Integer,java.lang.Double>,java.lang.Double> solveAndValue()
LPEngine
solveAndValue
in interface LPEngine
solveAndValue
in class LPEngineLpSolveImpl
public org.processmining.framework.util.Pair<double[],java.lang.Double> solveAndValueNative()
LPEngine
solveAndValueNative
in interface LPEngine
solveAndValueNative
in class LPEngineLpSolveImpl
public double[] solveNative()
LPEngine
solveNative
in interface LPEngine
solveNative
in class LPEngineLpSolveImpl