| Name | Description |
---|
 | AddBinaryVariable |
Adds a binary variable to the collection.
(Inherited from OptimizationModel.) |
 | AddIntegerVariable(String) |
Adds an integer variable to the collection.
(Inherited from OptimizationModel.) |
 | AddIntegerVariable(String, Int32, Int32) |
Adds a binary variable to the collection.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(String, ConstraintType, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(String, Double, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(IListDecisionVariable, IListDouble, ConstraintType, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(String, IListDouble, ConstraintType, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(String, IListDouble, Double, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddLinearConstraint(String, IListDecisionVariable, IListDouble, ConstraintType, Double) |
Adds a linear constraint to the optimization model.
(Inherited from OptimizationModel.) |
 | AddNonlinearConstraint(FuncVectorDouble, Double, ConstraintType, Double) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(FuncVectorDouble, Double, Double, Double) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(FuncVectorDouble, Double, ConstraintType, Double, FuncVectorDouble, VectorDouble, VectorDouble) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(FuncVectorDouble, Double, Double, Double, FuncVectorDouble, VectorDouble, VectorDouble) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(String, FuncVectorDouble, Double, ConstraintType, Double) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(String, FuncVectorDouble, Double, Double, Double) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(String, FuncVectorDouble, Double, ConstraintType, Double, FuncVectorDouble, VectorDouble, VectorDouble) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddNonlinearConstraint(String, FuncVectorDouble, Double, Double, Double, FuncVectorDouble, VectorDouble, VectorDouble) |
Adds a nonlinear constraint to the nonlinear program.
|
 | AddSymbolicConstraint(ExpressionFuncVectorDouble, Double, ConstraintType, Double) |
Adds a constraint that is defined by an expression to the nonlinear program.
|
 | AddSymbolicConstraint(ExpressionFuncVectorDouble, Double, Double, Double) |
Adds a constraint that is defined by an expression to the nonlinear program.
|
 | AddSymbolicConstraint(String, ExpressionFuncVectorDouble, Double, ConstraintType, Double) |
Adds a constraint that is defined by an expression to the nonlinear program.
|
 | AddSymbolicConstraint(String, ExpressionFuncVectorDouble, Double, Double, Double) |
Adds a constraint that is defined by an expression to the nonlinear program.
|
 | AddVariable(String) |
Adds a variable to the collection.
(Inherited from OptimizationModel.) |
 | AddVariable(String, Double, Double) |
Adds a variable to the collection.
(Inherited from OptimizationModel.) |
 | CreateLinearConstraints(MatrixDouble, VectorDouble, Int32) |
Creates linear constraints based on the specified coefficients.
(Inherited from OptimizationModel.) |
 | CreateLinearConstraints(VectorDouble, MatrixDouble, VectorDouble) |
Creates linear constraints based on the specified coefficients and bounds.
(Inherited from OptimizationModel.) |
 | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
 | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetSolution |
Gets the solution to the optimization model.
(Inherited from OptimizationModel.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
 | OnAddConstraint |
Notifies the optimization model that a constraint has been added.
(Inherited from OptimizationModel.) |
 | OnAddVariable |
Notifies the optimization model that a variable has been added.
(Inherited from OptimizationModel.) |
 | OnRemoveAllConstraints |
Notifies the optimization model that all constraints has been removed.
(Inherited from OptimizationModel.) |
 | OnRemoveAllVariables |
Notifies the optimization model that all variables has been removed.
(Inherited from OptimizationModel.) |
 | OnRemoveConstraint |
Notifies the optimization model that a constraint has been removed.
(Inherited from OptimizationModel.) |
 | OnRemoveVariable |
Notifies the optimization model that a variable has been removed.
(Inherited from OptimizationModel.) |
 | Solve |
Solves the model and returns the solution.
(Inherited from OptimizationModel.) |
 | SolveModel |
Solves the nonlinear program and returns the primal solution.
(Overrides OptimizationModelSolveModel.) |
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
There are two ways to define a nonlinear program. You can supply the linear constraints of the nonlinear program in matrix form.
You can also build the nonlinear program entirely from scratch using the AddVariable(String, Double)
and AddLinearConstraint(String, Double, Double)
methods. The ExtremumType property determines
whether a maximum or a minimum is requested.