public interface IPProblem extends ConstrainedOptimProblem
Modifier and Type | Method and Description |
---|---|
double |
epsilon()
Get the threshold to check whether a variable is an integer.
|
int[] |
getIntegerIndices()
Get the indices of the integral variables.
|
int[] |
getNonIntegralIndices(double[] x)
Check which elements in x do not satisfy the integral constraints.
|
getEqualityConstraints, getLessThanConstraints
dimension, f
int[] getIntegerIndices()
int[] getNonIntegralIndices(double[] x)
x
- an argument to the objective functionint[]
of length 0 indicates that all integral variables in x are integers.double epsilon()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.