Click or drag to resize

ConstrainedOptimizerORToolsAddVariablesAndBounds Method

Adds the variables in the given linearly constrained problem to a Google OR-tools GLOP linear model

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected virtual Variable[] AddVariablesAndBounds(
	BoundedVariableProblem problem,
	Solver solver,
	IEnumerable<int> integralVariableIndices
)

Parameters

problem  BoundedVariableProblem
Linearly constrained problem.
solver  Solver
Google OR-tools GLOP linear model solver.
integralVariableIndices  IEnumerableInt32
Indicies of integral variables for a MIP's

Return Value

Variable
An array of possibly bounded variables
See Also