| ConstrainedOptimizerAddVariablesAndBounds Method |
Adds the variables in the given linearly constrained problem to a Microsoft
Solver Foundation linear model.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax protected virtual int[] AddVariablesAndBounds(
BoundedVariableProblem problem,
LinearModel solver
)
Protected Overridable Function AddVariablesAndBounds (
problem As BoundedVariableProblem,
solver As LinearModel
) As Integer()
protected:
virtual array<int>^ AddVariablesAndBounds(
BoundedVariableProblem^ problem,
LinearModel^ solver
)
abstract AddVariablesAndBounds :
problem : BoundedVariableProblem *
solver : LinearModel -> int[]
override AddVariablesAndBounds :
problem : BoundedVariableProblem *
solver : LinearModel -> int[]
Parameters
- problem BoundedVariableProblem
- Linearly constrained problem.
- solver LinearModel
- MSF linear model.
Return Value
Int32See Also