Lines Matching refs:variable
414 Variable* variable = fLinearSpec->AddVariable(); in SoftInequalityAdder() local
415 variable->SetRange(0, 20000); in SoftInequalityAdder()
417 Constraint* helperConst = fLinearSpec->AddConstraint(1, variable, in SoftInequalityAdder()
430 new Summand(coeff, variable)); in SoftInequalityAdder()
529 ActiveSetSolver::VariableAdded(Variable* variable) in VariableAdded() argument
544 ActiveSetSolver::VariableRemoved(Variable* variable) in VariableRemoved() argument
546 fVariableGEConstraints.RemoveItemAt(variable->GlobalIndex()); in VariableRemoved()
547 fVariableLEConstraints.RemoveItemAt(variable->GlobalIndex()); in VariableRemoved()
553 ActiveSetSolver::VariableRangeChanged(Variable* variable) in VariableRangeChanged() argument
555 double min = variable->Min(); in VariableRangeChanged()
556 double max = variable->Max(); in VariableRangeChanged()
557 int32 variableIndex = variable->GlobalIndex(); in VariableRangeChanged()
562 constraintGE = fLinearSpec->AddConstraint(1, variable, kGE, 0); in VariableRangeChanged()
570 constraintLE = fLinearSpec->AddConstraint(1, variable, kLE, 20000); in VariableRangeChanged()