Click or drag to resize

OptVariable Class

Represents a varaible that can be used in optimization classes.
Inheritance Hierarchy

Namespace: DotNumerics.Optimization
Assembly: DWSIM.MathOps.DotNumerics (in DWSIM.MathOps.DotNumerics.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class OptVariable
Request Example View Source

The OptVariable type exposes the following members.

Constructors
 NameDescription
Public methodOptVariable Initializes a new instance of the OptVariable class.
Public methodOptVariable(Double) Initializes a new instance of the OptVariable class.
Public methodOptVariable(Double, Boolean) Initializes a new instance of the OptVariable class.
Public methodOptVariable(String, Double) Initializes a new instance of the OptVariable class.
Public methodOptVariable(String, Double, Boolean) Initializes a new instance of the OptVariable class.
Top
Properties
 NameDescription
Public propertyFixed Value that indicates if the variable is fixed.
Public propertyInitialGuess The initial guess for this variable.
Public propertyName The variable name.
Top
Methods
 NameDescription
Public methodToString
(Overrides ObjectToString)
Top
Fields
 NameDescription
Protected field_Fixed Value that indicates if the variable is fixed.
Protected field_InitialGuess The initial guess for this variable.
Protected field_Name The variable name.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumNames
(Defined by General)
Public Extension MethodIsValidDouble
(Defined by General)
Top
See Also