Click or drag to resize

SimplexSolverBaseSolveNonnegative(DoubleVector, DoubleVector) Method

Solves a linear programming problem. Solution values are constrained by upper bounds and lower bounds of zero. The solution maximizes the objective function.

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

Parameters

objectiveFunction  DoubleVector
A vector of coefficients representing the objective function.
upperBounds  DoubleVector
A vector of upper variable bounds.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if an upper bound is negative or zero.
MismatchedSizeException Thrown if the given structures are not of compatible sizes.
Remarks
The lower variable bounds default to zero.
See Also