Click or drag to resize

SimplexSolverBaseORToolsSolve(DoubleVector, DoubleVector, DoubleVector) Method

Solves a linear programming problems where the variables are constrained by the given bounds. The solution maximizes the objective function.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public void Solve(
	DoubleVector objectiveFunction,
	DoubleVector lowerBounds,
	DoubleVector upperBounds
)

Parameters

objectiveFunction  DoubleVector
A vector of coefficients representing the objective function.
lowerBounds  DoubleVector
A vector of lower variable bounds.
upperBounds  DoubleVector
A vector of upper variable bounds.
Exceptions
ExceptionCondition
MismatchedSizeException Thrown if the given structures are not of compatible sizes.
See Also