|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ConstrainedProblem
Description of a constrained optimization problem.
| Method Summary | |
|---|---|
java.util.ArrayList<Constraint> |
getConstraints()
Returns a list of all constrains a valid solution must keep. |
boolean |
isFeasable(double[] x)
Determines whether all constrains are fulfilled at input value x. |
| Methods inherited from interface scpsolver.problems.Problem |
|---|
evaluate, getDimension, getName, isMinProblem, setMinProblem |
| Method Detail |
|---|
boolean isFeasable(double[] x)
x.
isFeasable will iterate over all constrains of an optimization problem
and check if all of them hold. isFeasable will then return
true, otherwise it will return false.
The length of the array must be the same as the value returned by getDimension.
x - input variable vector
true if all constrains hold, false otherwisejava.util.ArrayList<Constraint> getConstraints()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||