Constraint with only linear terms.
Inheritance Hierarchy Namespace: Accord.Math.OptimizationAccord.Math (in Accord.Math.dll) Version: 3.8.0
Syntaxpublic class NonlinearConstraint : IConstraint, IFormattable
Public Class NonlinearConstraint Implements IConstraint, IFormattableRequest Example View Source
The NonlinearConstraint type exposes the following members.
Constructors Name Description NonlinearConstraintCreates an empty nonlinear constraint.
NonlinearConstraint(Int32, ExpressionFuncDouble, Boolean, FuncDouble, Double)Constructs a new nonlinear constraint.
NonlinearConstraint(IObjectiveFunction, ExpressionFuncDouble, Boolean, FuncDouble, Double)Constructs a new nonlinear constraint.
NonlinearConstraint(Int32, FuncDouble, Double, ConstraintType, Double, FuncDouble, Double, Double)Constructs a new nonlinear constraint.
NonlinearConstraint(IObjectiveFunction, FuncDouble, Double, ConstraintType, Double, FuncDouble, Double, Double)Constructs a new nonlinear constraint.
NonlinearConstraint(IObjectiveFunction, ExpressionFuncDouble, ConstraintType, Double, ExpressionFuncDouble, Double)Constructs a new nonlinear constraint.
Top Properties Name Description NumberOfVariablesGets the number of variables in the constraint.
ShouldBeGets the type of the constraint.
ToleranceGets the violation tolerance for the constraint. Equality constraints should set this to a small positive value. Default is 1e-8.
ValueGets the value in the right hand side of the constraint equation. Default is 0.
Top Methods Name Description CreateCreates a nonlinear constraint.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object.) FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) FunctionCalculates the left hand side of the constraint equation given a vector x.
GetHashCodeServes as the default hash function.
(Inherited from Object.) GetTypeGets the Type of the current instance.
(Inherited from Object.) GradientCalculates the gradient of the constraint equation given a vector x
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object.) ToStringReturns a String that represents this instance.
(Overrides ObjectToString.) ToString(String, IFormatProvider)Returns a String that represents this instance.
Top Extension Methods Name Description GetViolationGets how much the constraint is being violated.
(Defined by ConstraintExtensions.) HasMethodChecks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) IsEqualCompares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.) IsViolatedGets whether this constraint is being violated (within the current tolerance threshold).
(Defined by ConstraintExtensions.) To(Type) Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) ToT Overloaded.Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4