problem
Interface BoundConstrainedProblem

All Superinterfaces:
OptimizationProblem
All Known Subinterfaces:
InequalityConstrainedProblem, MultiObjectiveProblem
All Known Implementing Classes:
BasicBoundConstrainedProblem, BasicInequalityConstrainedProblem, BasicMultiObjectiveProblem, VectorFunctionToProblem

public interface BoundConstrainedProblem
extends OptimizationProblem

Methods that a bound-constrained problem must support. Note that some convenience methods are left out. For instance, a isFeasible() method may be useful, but the idea is that this interface is going to be used primarily by other classes for problem, and only occasionally directly by a user. Note: objectives are to be minimized.

Author:
dgorur

Method Summary
 double[] getConstraintViolations(double[] x)
          Returns the bound-constraint violations for a given input.
 void setBounds(Hypercube bounds)
          Sets the bounds for this problem.
 
Methods inherited from interface problem.OptimizationProblem
getBounds, getInputDimension, getObjective, getOutputDimension, init, makeDataBlock, makeDataPoint, setObjective
 

Method Detail

getConstraintViolations

double[] getConstraintViolations(double[] x)
Returns the bound-constraint violations for a given input.

Parameters:
x - the given input.
Returns:
an array of constraint violations.

setBounds

void setBounds(Hypercube bounds)
Sets the bounds for this problem. Row 0 corresponds to the lower bound and row 1 corresponds to the upper bound.

Parameters:
bounds - the given bounds.