Linear |
The LinearConstrainedProblem type exposes the following members.
Name | Description | |
---|---|---|
LinearConstrainedProblem | Constructs a LinearConstrainedProblem with no constraints. | |
LinearConstrainedProblem(LinearConstrainedProblem) | Copy constructor. |
Name | Description | |
---|---|---|
Constraints | Gets and sets the linear constraints for the problem. | |
NumVariables |
Gets the number of variables in the problem.
(Inherited from BoundedVariableProblem) | |
VariableBounds |
Gets and sets variable bounds for the problem.
(Inherited from BoundedVariableProblem) |
Name | Description | |
---|---|---|
AddBounds(Int32, Double, Double) |
Adds upper and lower bound constraints to a variable.
(Inherited from BoundedVariableProblem) | |
AddBounds(Int32, Double, Double, Double) |
Adds upper and lower bound constraints to a variable.
(Inherited from BoundedVariableProblem) | |
AddConstraint(LinearConstraint) | Adds the given constraint to the problem. | |
AddConstraint(DoubleVector, Double, Double) | Adds a linear inequality constraint of the form lowerBound <= coefficients'x < upperBound | |
AddConstraint(ILinearConstraintCoefficients, Double, Double) | Adds a linear inequality constraint of the form lowerBound <= coefficients'x < upperBound | |
AddConstraint(DoubleVector, Double, Double, Double) | Adds a linear inequality constraint of the form lowerBound <= coefficients'x < upperBound | |
AddConstraint(ILinearConstraintCoefficients, Double, Double, Double) | Adds a linear inequality constraint of the form lowerBound <= coefficients'x < upperBound | |
AddEqualityConstraint(DoubleVector, Double) | Adds an equality constraint of the form coefficients'x = rightHandSide | |
AddEqualityConstraint(ILinearConstraintCoefficients, Double) | Adds an equality constraint of the form coefficients'x = rightHandSide | |
AddLowerBound(Int32, Double) |
Adds an lower bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem) | |
AddLowerBound(Int32, Double, Double) |
Adds an lower bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem) | |
AddLowerBoundConstraint(DoubleVector, Double) | Adds a linear inequality constraint of the form coefficients'x >= lowerBound | |
AddLowerBoundConstraint(ILinearConstraintCoefficients, Double) | Adds a linear inequality constraint of the form coefficients'x >= lowerBound | |
AddLowerBoundConstraint(DoubleVector, Double, Double) | Adds a linear inequality constraint of the form coefficients'x >= lowerBound | |
AddLowerBoundConstraint(ILinearConstraintCoefficients, Double, Double) | Adds a linear inequality constraint of the form coefficients'x >= lowerBound | |
AddUpperBound(Int32, Double) |
Adds an upper bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem) | |
AddUpperBound(Int32, Double, Double) |
Adds an upper bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem) | |
AddUpperBoundConstraint(DoubleVector, Double) | Adds a linear inequality constraint of the form coefficients'x <= upperBound | |
AddUpperBoundConstraint(ILinearConstraintCoefficients, Double) | Adds a linear inequality constraint of the form coefficients'x <= upperBound | |
AddUpperBoundConstraint(DoubleVector, Double, Double) | Adds a linear inequality constraint of the form coefficients'x <= upperBound | |
AddUpperBoundConstraint(ILinearConstraintCoefficients, Double, Double) | Adds a linear inequality constraint of the form coefficients'x <= upperBound | |
CheckVariableIndex |
Checks that the given variable index is valid.
(Inherited from BoundedVariableProblem) | |
EvaluateConstraints | Evaluates each of the constraints at the specified point and returns the results. | |
PointIsFeasible(DoubleVector) |
Function for determining the feasibility of a give point. A point
x is feasible if it satisfies all the constraints of the
problem.
(Overrides BoundedVariableProblemPointIsFeasible(DoubleVector)) | |
PointIsFeasible(DoubleVector, Double) |
Function for determining the feasibility of a give point.
(Overrides BoundedVariableProblemPointIsFeasible(DoubleVector, Double)) |
Name | Description | |
---|---|---|
constraints_ | Problem constraints. | |
variableBounds_ |
Map containing variable bounds. Key is the variable ID, the value is the bounds.
(Inherited from BoundedVariableProblem) |