Searched refs:objective_scaling_factor_ (Results 1 – 10 of 10) sorted by relevance
82 objective_scaling_factor_ = 1.0 / lp->ScaleObjective(params.cost_scaling()); in Scale()88 objective_scaling_factor_ = 1.0; in Clear()105 return value / scaler_.ColUnscalingFactor(col) * objective_scaling_factor_; in ScaleReducedCost()111 return value * (scaler_.RowUnscalingFactor(row) * objective_scaling_factor_); in ScaleDualValue()129 return value * scaler_.ColUnscalingFactor(col) / objective_scaling_factor_; in UnscaleReducedCost()135 return value / (scaler_.RowUnscalingFactor(row) * objective_scaling_factor_); in UnscaleDualValue()
92 return objective_scaling_factor_; in ObjectiveScalingFactor()98 Fractional objective_scaling_factor_ = 1.0; variable
126 objective_scaling_factor_(1.0),154 objective_scaling_factor_ = 1.0;340 objective_scaling_factor_ = objective_scaling_factor;931 objective_scaling_factor_ = lp.objective_scaling_factor_;966 objective_scaling_factor_ = linear_program.objective_scaling_factor_;1053 std::swap(objective_scaling_factor_,1054 linear_program->objective_scaling_factor_);1307 if (!IsFinite(objective_scaling_factor_)) return false;1308 if (objective_scaling_factor_ == 0.0) return false;
262 return objective_scaling_factor_; in objective_scaling_factor()620 Fractional objective_scaling_factor_; variable
1030 objective_scaling_factor_ = -lp.objective_scaling_factor(); in InitializeObjectiveAndTestIfUnchanged()1040 objective_scaling_factor_ = lp.objective_scaling_factor(); in InitializeObjectiveAndTestIfUnchanged()1049 DCHECK(std::isfinite(objective_scaling_factor_)); in InitializeObjectiveLimit()1050 DCHECK_NE(0.0, objective_scaling_factor_); in InitializeObjectiveLimit()1065 const Fractional limit = (objective_scaling_factor_ >= 0.0) != set_dual in InitializeObjectiveLimit()1069 limit / objective_scaling_factor_ - objective_offset_; in InitializeObjectiveLimit()3471 return objective_scaling_factor_ * (sum + objective_offset_); in ComputeInitialProblemObjectiveValue()
657 Fractional objective_scaling_factor_; variable
1499 objective_scaling_factor_ = obj.scaling_factor(); in ReadObjectiveFromProto()1500 if (objective_scaling_factor_ == 0.0) { in ReadObjectiveFromProto()1501 objective_scaling_factor_ = 1.0; in ReadObjectiveFromProto()1662 objective_scaling_factor_ *= static_cast<double>(gcd); in CanonicalizeObjective()1860 mutable_obj->set_scaling_factor(objective_scaling_factor_); in WriteObjectiveToProto()
592 double objective_scaling_factor_; variable
4244 objective_scaling_factor_(objective_scaling_factor), in ImprovementSearchLimit()4267 objective_scaling_factor_ = improv->objective_scaling_factor_; in Copy()4282 objective_var_, maximize_, objective_scaling_factor_, objective_offset_, in MakeClone()4319 objective_scaling_factor_ * (new_objective + objective_offset_); in AtSolution()
4413 double objective_scaling_factor_; variable