public class IntegralConstrainedCellFactory extends ConstrainedCellFactory
Modifier and Type | Class and Description |
---|---|
static class |
IntegralConstrainedCellFactory.AllIntegers
This integral constraint makes all variables in the objective function integral variables.
|
static interface |
IntegralConstrainedCellFactory.IntegerConstraint
The integral constraints are defined by implementing this
interface . |
static class |
IntegralConstrainedCellFactory.SomeIntegers
This integral constraint makes some variables in the objective function integral variables.
|
ConstrainedCellFactory.ConstrainedCell
DEOptimCellFactory.DeOptimCell
SimpleCellFactory.SimpleCell
unconstrainedFactory
Cr, F
uniform
Constructor and Description |
---|
IntegralConstrainedCellFactory(DEOptimCellFactory factory,
IntegralConstrainedCellFactory.IntegerConstraint constraint)
Construct an instance of
IntegralConstrainedCellFactory . |
Modifier and Type | Method and Description |
---|---|
ConstrainedCellFactory.ConstrainedCell |
getSimpleCell(RealScalarFunction f,
Vector x)
Override this method to put in whatever constraints in the minimization problem.
|
setPopulation
Fmin, getBase, getOne, getPopulation
public IntegralConstrainedCellFactory(DEOptimCellFactory factory, IntegralConstrainedCellFactory.IntegerConstraint constraint)
IntegralConstrainedCellFactory
.factory
- the Differential Operators for unconstrained optimizationconstraint
- the integral constraintspublic ConstrainedCellFactory.ConstrainedCell getSimpleCell(RealScalarFunction f, Vector x)
ConstrainedCellFactory
getSimpleCell
in class ConstrainedCellFactory
f
- the original objective functionx
- the original, unprocessed, unconstrained candidate solutionCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.