SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.constrained.constraint.general
Class GeneralGreaterThanConstraints

java.lang.Object
  extended by com.numericalmethod.suanshu.optimization.constrained.constraint.general.GeneralConstraints
      extended by com.numericalmethod.suanshu.optimization.constrained.constraint.general.GeneralGreaterThanConstraints
All Implemented Interfaces:
Constraints, GreaterThanConstraints

public class GeneralGreaterThanConstraints
extends GeneralConstraints
implements GreaterThanConstraints

This is the collection of greater-than-or-equal-to constraints for an optimization problem.


Constructor Summary
GeneralGreaterThanConstraints(java.util.Collection<RealScalarFunction> constraints)
          Construct an instance of greater-than-or-equal-to inequality constraints from a collection of real-valued functions.
GeneralGreaterThanConstraints(RealScalarFunction... constraints)
          Construct an instance of greater-than-or-equal-to inequality constraints from an array of real-valued functions.
 
Method Summary
 GeneralLessThanConstraints toLessThanConstraints()
          Convert the greater-than or equal-to constraints to less-than or equal-to constraints.
 
Methods inherited from class com.numericalmethod.suanshu.optimization.constrained.constraint.general.GeneralConstraints
dimension, getConstraints, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.numericalmethod.suanshu.optimization.constrained.constraint.Constraints
dimension, getConstraints, size
 

Constructor Detail

GeneralGreaterThanConstraints

public GeneralGreaterThanConstraints(java.util.Collection<RealScalarFunction> constraints)
Construct an instance of greater-than-or-equal-to inequality constraints from a collection of real-valued functions.

Parameters:
constraints - the greater-than-or-equal-to inequality constraints

GeneralGreaterThanConstraints

public GeneralGreaterThanConstraints(RealScalarFunction... constraints)
Construct an instance of greater-than-or-equal-to inequality constraints from an array of real-valued functions.

Parameters:
constraints - the greater-than-or-equal-to inequality constraints
Method Detail

toLessThanConstraints

public GeneralLessThanConstraints toLessThanConstraints()
Description copied from interface: GreaterThanConstraints
Convert the greater-than or equal-to constraints to less-than or equal-to constraints.

Specified by:
toLessThanConstraints in interface GreaterThanConstraints
Returns:
the equivalent less-than or equal-to constraints

SuanShu, a Java numerical and statistical library

Copyright © 2012 Numerical Method Inc. Ltd. All Rights Reserved.