Click or drag to resize

MixedIntegerNonlinearProgrammingProblem Class

Class MixedIntegerNonlinearProgrammingProblem represents a nonlinear programming problem.
Inheritance Hierarchy

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
public class MixedIntegerNonlinearProgrammingProblem : NonlinearProgrammingProblem

The MixedIntegerNonlinearProgrammingProblem type exposes the following members.

Constructors
  NameDescription
Public methodMixedIntegerNonlinearProgrammingProblem
Constructs an empty MixedIntegerNonlinearProgrammingProblem object.
Public methodMixedIntegerNonlinearProgrammingProblem(DoubleFunctional)
Constructs a MixedIntegerNonlinearProgrammingProblem object with the given objective function.
Public methodMixedIntegerNonlinearProgrammingProblem(Int32, FuncDoubleVector, Double)
Constructws a MixedIntegerNonlinearProgrammingProblem object with the given objective function and constraints.
Public methodMixedIntegerNonlinearProgrammingProblem(DoubleFunctional, IEnumerableConstraint)
Constructws a MixedIntegerNonlinearProgrammingProblem object with the given objective function and constraints.
Public methodMixedIntegerNonlinearProgrammingProblem(Int32, FuncDoubleVector, Double, IEnumerableConstraint)
Constructws a MixedIntegerNonlinearProgrammingProblem object with the given objective function and constraints.
Top
Properties
  NameDescription
Public propertyConstraints
Gets the constraints.
(Inherited from NonlinearProgrammingProblem.)
Public propertyIntegralVariableIndices
Gets the zero based indices of variables with integral constraints.
Public propertyNumVariables
Number of variables for the problem.
(Inherited from NonlinearProgrammingProblem.)
Public propertyObjectiveFunction
Gets and sets the objective funtion to minimize.
(Inherited from NonlinearProgrammingProblem.)
Public propertyVariableBounds
Gets and sets variable bounds for the problem.
(Inherited from BoundedVariableProblem.)
Top
Methods
  NameDescription
Public methodAddBinaryConstraint(Int32)
Adds a binary constraint to the variable at the given index. A binary constraint restricts the variable to a value of zero or one.
Public methodAddBinaryConstraint(Int32)
Adds a binary constraint to the variables at the given indices. A binary constraint restricts the variable to a value of zero or one.
Public methodAddBounds(Int32, Double, Double)
Adds upper and lower bound constraints to a variable.
(Inherited from BoundedVariableProblem.)
Public methodAddBounds(Int32, Double, Double, Double)
Adds upper and lower bound constraints to a variable.
(Inherited from BoundedVariableProblem.)
Public methodAddConstraint(Constraint)
Adds the given constraint to the problem.
(Inherited from NonlinearProgrammingProblem.)
Public methodAddConstraint(DoubleFunctional, Double, Double)
Adds an inequality constraint of the form lowerBound <= constraintFunction(x) < upperBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddConstraint(Int32, FuncDoubleVector, Double, Double, Double)
Adds an inequality constraint of the form lowerBound <= constraintFunction(x) < upperBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddEqualityConstraint(DoubleFunctional, Double)
Adds an equality constraint of the form constraintFunction(x) = rightHandSide
(Inherited from NonlinearProgrammingProblem.)
Public methodAddEqualityConstraint(Int32, FuncDoubleVector, Double, Double)
Adds an equality constraint of the form constraintFunction(x) = rightHandSide
(Inherited from NonlinearProgrammingProblem.)
Public methodAddIntegralConstraint
Adds integral constraints to the variable at the given zero based indices. The indices must be between zero and number of variables minus one, inclusive.
Public methodAddLinearConstraint(LinearConstraint)
Adds the given linear constraint to the problem.
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLinearConstraint(DoubleVector, Double, Double)
Adds a linear inequality constraint of the form lowerBound <= coefficients'x < upperBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLinearEqualityConstraint
Adds an equality constraint of the form coefficients'x = rightHandSide
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLinearLowerBoundConstraint
Adds a linear inequality constraint of the form coefficients'x >= lowerBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLinearUpperBoundConstraint
Adds a linear inequality constraint of the form coefficients'x <= upperBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLowerBound(Int32, Double)
Adds an lower bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem.)
Public methodAddLowerBound(Int32, Double, Double)
Adds an lower bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem.)
Public methodAddLowerBoundConstraint(DoubleFunctional, Double)
Adds an inequality constraint of the form constraintFunction(x) >= lowerBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddLowerBoundConstraint(Int32, FuncDoubleVector, Double, Double)
Adds an inequality constraint of the form constraintFunction(x) >= lowerBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddNonlinearConstraint
Adds the given nonlinear constraint to the problem.
(Inherited from NonlinearProgrammingProblem.)
Public methodAddUpperBound(Int32, Double)
Adds an upper bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem.)
Public methodAddUpperBound(Int32, Double, Double)
Adds an upper bound constraint on the variable at the given index.
(Inherited from BoundedVariableProblem.)
Public methodAddUpperBoundConstraint(DoubleFunctional, Double)
Adds an inequality constraint of the form constraintFunction(x) <= upperBound
(Inherited from NonlinearProgrammingProblem.)
Public methodAddUpperBoundConstraint(Int32, FuncDoubleVector, Double, Double)
Adds an inequality constraint of the form constraintFunction(x) <= upperBound
(Inherited from NonlinearProgrammingProblem.)
Protected methodCheckVariableIndex
Checks that the given variable index is valid.
(Inherited from NonlinearProgrammingProblem.)
Public methodEvaluateConstraints
Evalutes each of the constraints at the specified point and returns the results.
(Inherited from NonlinearProgrammingProblem.)
Public methodGetIntegrality
Gets the integral constraint state of the variable at the given zero based index.
Public methodIsFeasiblePoint
Function for determining the feasibility of a give point. A point x is feasible if it satisfies all the constraints of the problem.
(Inherited from NonlinearProgrammingProblem.)
Public methodPointIsFeasible(DoubleVector)
Function for determining the feasibility of a give point. A point x is feasible if it satisfies all the constraints of the problem.
(Inherited from BoundedVariableProblem.)
Public methodPointIsFeasible(DoubleVector, Double)
Function for determining the feasibility of a give point. A point x is feasible if it satisfies all the constraints of the problem within a specified tolerance.
(Inherited from BoundedVariableProblem.)
Public methodSetIntegrality
Sets an integrality constraint for the variable with the given zero based index.
Top
Fields
  NameDescription
Protected fieldvariableBounds_
Map containing variable bounds. Key is the variable ID, the value is the bounds.
(Inherited from BoundedVariableProblem.)
Top
Remarks
Nonlinear programming problems are of the form

minimize f(x) subject to
ci(x) == 0, for i in E,
ci(x) >= 0 for i in I,
xi an integer for i in J

where f is the objective function and the constraint functions ci are all smooth, real-valued functions on a subset of Rn, and I and E are finite index subsets of inequality and equality constraints, respectively and J are finite index subsets of variables with integral constraints.

See Also