public class CourantPenalty extends MultiplierPenalty
Function.EvaluationExceptionconstraints, weights| Constructor and Description |
|---|
CourantPenalty(EqualityConstraints constraints)
Construct a CourantPenalty penalty function from a collection of equality constraints.
|
CourantPenalty(EqualityConstraints constraints,
double weight)
Construct a CourantPenalty penalty function from a collection of equality constraints.
|
CourantPenalty(EqualityConstraints constraints,
double[] weights)
Construct a CourantPenalty penalty function from a collection of equality constraints.
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(Vector x)
Evaluate the function f at x, where x is from the domain.
|
dimensionOfDomaindimensionOfRangepublic CourantPenalty(EqualityConstraints constraints, double[] weights)
constraints - a collection of equality constraintsweights - the weights assigned to the constraintspublic CourantPenalty(EqualityConstraints constraints, double weight)
constraints - a collection of equality constraintsweight - the same weight assigned to the constraintspublic CourantPenalty(EqualityConstraints constraints)
constraints - a collection of equality constraintsCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.