Метод | Описание | |
---|---|---|
GetViolation ( double input ) : double |
Gets how much the constraint is being violated.
|
|
IsViolated ( double input ) : bool |
Gets whether this constraint is being violated (within the current tolerance threshold).
|
|
NonlinearConstraint ( IObjectiveFunction objective, Expression |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, bool>.Expression |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( int numberOfVariables, bool>.Expression |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( int numberOfVariables, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( int numberOfVariables, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( int numberOfVariables, double>.Func |
Constructs a new nonlinear constraint.
|
|
NonlinearConstraint ( int numberOfVariables, double>.Func |
Constructs a new nonlinear constraint.
|
|
ToString ( ) : string |
Returns a System.String that represents this instance.
|
|
ToString ( string format, IFormatProvider formatProvider ) : string |
Returns a System.String that represents this instance.
|
Метод | Описание | |
---|---|---|
Create ( int numberOfVariables, double>.Func |
Creates a nonlinear constraint.
|
|
NonlinearConstraint ( ) : System |
Creates an empty nonlinear constraint.
|
Метод | Описание | |
---|---|---|
parse ( bool>.Expression |
protected Create ( int numberOfVariables, double>.Func |
||
numberOfVariables | int | |
function | double>.Func | |
shouldBe | ConstraintType | |
value | double | |
gradient | double[]>.Func | |
tolerance | double | |
Результат | void |
public GetViolation ( double input ) : double | ||
input | double | The function point. |
Результат | double |
public IsViolated ( double input ) : bool | ||
input | double | The function point. |
Результат | bool |
public NonlinearConstraint ( IObjectiveFunction objective, Expression |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | Expression |
A lambda expression defining the left hand side of the constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint
/// should be compared to the given |
value | double | The right hand side of the constraint equation. |
gradient | Expression |
A lambda expression defining the gradient of the |
withinTolerance | double | The tolerance for violations of the constraint. Equality /// constraints should set this to a small positive value. Default is 1e-8. |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, bool>.Expression |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
constraint | bool>.Expression | A boolean lambda expression expressing the constraint. Please /// see examples for details. |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | double>.Func | A lambda expression defining the left hand side of the constraint. |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | double>.Func | A lambda expression defining the left hand side of the /// constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint should be
/// compared to the given |
value | double | The right hand side of the constraint equation. Default is 0. |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | double>.Func | A lambda expression defining the left hand side of the /// constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint should be
/// compared to the given |
value | double | The right hand side of the constraint equation. Default is 0. |
gradient | double[]>.Func | A lambda expression defining the gradient of the |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | double>.Func | A lambda expression defining the left hand side of the constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint should be compared to the given |
value | double | The right hand side of the constraint equation. Default is 0. |
gradient | double[]>.Func | A lambda expression defining the gradient of the |
withinTolerance | double | The tolerance for violations of the constraint. Equality /// constraints should set this to a small positive value. Default is 1e-8. |
Результат | System |
public NonlinearConstraint ( IObjectiveFunction objective, double>.Func |
||
objective | IObjectiveFunction | The objective function to which this constraint refers. |
function | double>.Func | A lambda expression defining the left hand side of the /// constraint equation. |
gradient | double[]>.Func | A lambda expression defining the gradient of the |
Результат | System |
public NonlinearConstraint ( int numberOfVariables, bool>.Expression |
||
numberOfVariables | int | The number of variables in the constraint. |
constraint | bool>.Expression | A boolean lambda expression expressing the constraint. Please /// see examples for details. |
Результат | System |
public NonlinearConstraint ( int numberOfVariables, double>.Func |
||
numberOfVariables | int | The number of variables in the constraint. |
function | double>.Func | A lambda expression defining the left hand side of the /// constraint equation. |
Результат | System |
public NonlinearConstraint ( int numberOfVariables, double>.Func |
||
numberOfVariables | int | The number of variables in the constraint. |
function | double>.Func | A lambda expression defining the left hand side of the constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint should be compared to
/// the given |
value | double | The right hand side of the constraint equation. Default is 0. |
Результат | System |
public NonlinearConstraint ( int numberOfVariables, double>.Func |
||
numberOfVariables | int | The number of variables in the constraint. |
function | double>.Func | A lambda expression defining the left hand side of the constraint equation. |
shouldBe | ConstraintType | How the left hand side of the constraint should be compared to the given |
value | double | The right hand side of the constraint equation. Default is 0. |
gradient | double[]>.Func | A lambda expression defining the gradient of the |
withinTolerance | double | The tolerance for violations of the constraint. Equality /// constraints should set this to a small positive value. Default is 1e-8. |
Результат | System |
public NonlinearConstraint ( int numberOfVariables, double>.Func |
||
numberOfVariables | int | The number of variables in the constraint. |
function | double>.Func | A lambda expression defining the left hand side of the /// constraint equation. |
gradient | double[]>.Func | A lambda expression defining the gradient of the |
shouldBe | ConstraintType | How the left hand side of the constraint should be
/// compared to the given |
value | double | The right hand side of the constraint equation. Default is 0. |
withinTolerance | double | The tolerance for violations of the constraint. Equality /// constraints should set this to a small positive value. Default is 1e-8. |
Результат | System |
public ToString ( string format, IFormatProvider formatProvider ) : string | ||
format | string | The format. |
formatProvider | IFormatProvider | The format provider. |
Результат | string |