|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
R
- the row variable type.C
- the column variable type.public interface LinearProgramSolver<R,C>
This interface is used to represent linear program solvers.
Method Summary | |
---|---|
void |
setConstraint(LinearComb<? extends C> expression,
Interval c)
Sets a constraint on the provided linear combination of column variables. |
void |
setObjectiveFunction(LinearComb<? extends C> expression)
Sets the objective function to the provided linear combination of column variables. |
void |
setObjectiveFunction(LinearComb<? extends C> expression,
OptSense sense)
Sets the objective function and optimization sense to the provided values. |
Methods inherited from interface sbrt.kernel.math.optimization.ProgramSolver |
---|
clear, getObjectiveValue, getSolutionVector, getStatus, isColumnVar, isRowVar, optimize, setColumnConstraint, setColumnConstraints, setConstraint, setConstraints, setMatrixElement, setObjectiveFunction, setObjectiveFunction, setOptimizationSense, setParamFile, setRowConstraint, setRowConstraints |
Method Detail |
---|
void setConstraint(LinearComb<? extends C> expression, Interval c)
expression
- a linear combination of column variables for
which the constraint is set.c
- the constraint.void setObjectiveFunction(LinearComb<? extends C> expression, OptSense sense)
expression
- a linear combination of column variables from
this program solver.sense
- the optimization sense.setObjectiveFunction(LinearComb)
,
ProgramSolver.setOptimizationSense(OptSense)
void setObjectiveFunction(LinearComb<? extends C> expression)
expression
- a linear combination of column variables from
this program solver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |