|
||||||||||
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 QuadraticProgramSolver<R,C>
This interface is used to represent quadratic program solvers.
Method Summary | |
---|---|
void |
setConstraint(QuadraticExpr<? extends C> expression,
Interval c)
Sets a constraint on the provided quadratic expression of column variables. |
void |
setObjectiveFunction(QuadraticExpr<? extends C> expression)
Sets the objective function to the provided quadratic expression of column variables. |
void |
setObjectiveFunction(QuadraticExpr<? 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(QuadraticExpr<? extends C> expression, Interval c)
expression
- a linear combination of column variables for
which the constraint is set.c
- the constraint.void setObjectiveFunction(QuadraticExpr<? extends C> expression, OptSense sense)
expression
- a linear combination of column variables from
this program solver.sense
- the optimization sense.setObjectiveFunction(QuadraticExpr)
,
ProgramSolver.setOptimizationSense(OptSense)
void setObjectiveFunction(QuadraticExpr<? extends C> expression)
expression
- a quadratic expression of column variables from
this program solver.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |