  | SimplexSolverBaseORToolsSolve(DoubleVector, DoubleMatrix, DoubleVector, Int32, Int32, Int32, DoubleVector, DoubleVector) Method | 
            Solves a linear programming problem with the given constraints and 
            variable bounds.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic void Solve(
	DoubleVector objectiveFunction,
	DoubleMatrix constraints,
	DoubleVector rightHandSides,
	int numLessThan,
	int numGreaterThan,
	int numEqual,
	DoubleVector lowerBounds,
	DoubleVector upperBounds
)
Public Sub Solve ( 
	objectiveFunction As DoubleVector,
	constraints As DoubleMatrix,
	rightHandSides As DoubleVector,
	numLessThan As Integer,
	numGreaterThan As Integer,
	numEqual As Integer,
	lowerBounds As DoubleVector,
	upperBounds As DoubleVector
)
public:
void Solve(
	DoubleVector^ objectiveFunction, 
	DoubleMatrix^ constraints, 
	DoubleVector^ rightHandSides, 
	int numLessThan, 
	int numGreaterThan, 
	int numEqual, 
	DoubleVector^ lowerBounds, 
	DoubleVector^ upperBounds
)
member Solve : 
        objectiveFunction : DoubleVector * 
        constraints : DoubleMatrix * 
        rightHandSides : DoubleVector * 
        numLessThan : int * 
        numGreaterThan : int * 
        numEqual : int * 
        lowerBounds : DoubleVector * 
        upperBounds : DoubleVector -> 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.
 - lowerBounds  DoubleVector
 - A vector of lower variable bounds.
 - upperBounds  DoubleVector
 - A vector of upper variable bounds.
 
Exceptions
Remarks
            Each row of the constraints matrix is the coefficients of a linear
            constraint. The first numLessThan rows represents linear constraints
            that are less than their corresponding right hand side, the next
            numGreaterThan rows represent linear constraints that are greater than
            their corresponding right hand sides, and the last numEqual rows
            represent equality constraints.
            
See Also