Class IntegralConstrainedCellFactory.SomeIntegers
- java.lang.Object
-
- dev.nm.solver.multivariate.geneticalgorithm.minimizer.deoptim.constrained.IntegralConstrainedCellFactory.SomeIntegers
-
- All Implemented Interfaces:
IntegralConstrainedCellFactory.IntegerConstraint
- Enclosing class:
- IntegralConstrainedCellFactory
public static class IntegralConstrainedCellFactory.SomeIntegers extends Object implements IntegralConstrainedCellFactory.IntegerConstraint
This integral constraint makes some variables in the objective function integral variables.
-
-
Constructor Summary
Constructors Constructor Description SomeIntegers(IPProblem problem)
Construct the integral constraint from an Integer Programming problem.
-
-
-
Constructor Detail
-
SomeIntegers
public SomeIntegers(IPProblem problem)
Construct the integral constraint from an Integer Programming problem.- Parameters:
problem
- an Integer Programming problemI
-
-
Method Detail
-
round
public Vector round(Vector x)
- Specified by:
round
in interfaceIntegralConstrainedCellFactory.IntegerConstraint
-
-