SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.constrained.integer
Class IntegerConstrainedProblem

java.lang.Object
  extended by com.numericalmethod.suanshu.optimization.unconstrained.UnconstrainedProblem
      extended by com.numericalmethod.suanshu.optimization.constrained.general.ConstrainedProblem
          extended by com.numericalmethod.suanshu.optimization.constrained.integer.IntegerConstrainedProblem

public class IntegerConstrainedProblem
extends ConstrainedProblem


Nested Class Summary
static class IntegerConstrainedProblem.IntegralConstraint
           
 
Field Summary
 
Fields inherited from class com.numericalmethod.suanshu.optimization.constrained.general.ConstrainedProblem
equalities, inequalities
 
Fields inherited from class com.numericalmethod.suanshu.optimization.unconstrained.UnconstrainedProblem
f
 
Constructor Summary
IntegerConstrainedProblem(RealScalarFunction f, EqualityConstraints equalities, InequalityConstraints inequalities, IntegerConstrainedProblem.IntegralConstraint... integers)
          Construct a constrained optimization problem with index constraints.
 
Method Summary
 int[] integerIndices()
           
 IntegerConstrainedProblem.IntegralConstraint integralConstraint(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerConstrainedProblem

public IntegerConstrainedProblem(RealScalarFunction f,
                                 EqualityConstraints equalities,
                                 InequalityConstraints inequalities,
                                 IntegerConstrainedProblem.IntegralConstraint... integers)
Construct a constrained optimization problem with index constraints.

Parameters:
f - the objective function to be minimized
equalities - the set of equality constraints; if the set is empty, use null.
inequalities - the set of inequality constraints; if the set is empty, use null.
integers - the integral constraints
Method Detail

integerIndices

public int[] integerIndices()

integralConstraint

public IntegerConstrainedProblem.IntegralConstraint integralConstraint(int index)

SuanShu, a Java numerical and statistical library

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