Click or drag to resize

ConstrainedOptimizerAddVariablesAndBounds Method

Adds the variables in the given linearly constrained problem to a Microsoft Solver Foundation linear model.

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.4
Syntax
protected virtual int[] AddVariablesAndBounds(
	BoundedVariableProblem problem,
	LinearModel solver
)

Parameters

problem
Type: CenterSpace.NMath.CoreBoundedVariableProblem
Linearly constrained problem.
solver
Type: LinearModel
MSF linear model.

Return Value

Type: Int32
See Also