| SimplexSolverBaseSolveNonnegative(DoubleVector, DoubleMatrix, DoubleVector, Int32, Int32, Int32) Method |
Solves a linear system. The solution components are constrained to
be nonnegative.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public void SolveNonnegative(
DoubleVector objectiveFunction,
DoubleMatrix constraints,
DoubleVector rightHandSides,
int numLessThan,
int numGreaterThan,
int numEqual
)
Public Sub SolveNonnegative (
objectiveFunction As DoubleVector,
constraints As DoubleMatrix,
rightHandSides As DoubleVector,
numLessThan As Integer,
numGreaterThan As Integer,
numEqual As Integer
)
public:
void SolveNonnegative(
DoubleVector^ objectiveFunction,
DoubleMatrix^ constraints,
DoubleVector^ rightHandSides,
int numLessThan,
int numGreaterThan,
int numEqual
)
member SolveNonnegative :
objectiveFunction : DoubleVector *
constraints : DoubleMatrix *
rightHandSides : DoubleVector *
numLessThan : int *
numGreaterThan : int *
numEqual : int -> unit
Parameters
- objectiveFunction DoubleVector
-
A vector of coefficients representing the objective function.
- constraints DoubleMatrix
- A matrix of constraint coefficients.
- rightHandSides DoubleVector
- A vector of right-hand sides.
- numLessThan Int32
- The number of less-than constraints.
- numGreaterThan Int32
- The number of greater-than constraints.
- numEqual Int32
- The number of equality constraints.
Return Value
The solution.
Exceptions See Also