Param.withContext constructor
Param.withContext(
- dynamic context, [
- double value = 0.0
Creates a new Param with the specified constant value that is tied to some object outside the solver.
Implementation
Param.withContext(this.context, [double value = 0.0])
: variable = Variable(value) {
variable._owner = this;
}