Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Parameters for an individual objective in a multi-objective model. More...
#include <model_solve_parameters.h>
Public Member Functions | |
ObjectiveParametersProto | Proto () const |
Returns the proto equivalent of this object. | |
Static Public Member Functions | |
static ObjectiveParameters | FromProto (const ObjectiveParametersProto &proto) |
Public Attributes | |
std::optional< double > | objective_degradation_absolute_tolerance |
std::optional< double > | objective_degradation_relative_tolerance |
Parameters for an individual objective in a multi-objective model.
Definition at line 156 of file model_solve_parameters.h.
|
static |
Definition at line 155 of file model_solve_parameters.cc.
ObjectiveParametersProto operations_research::math_opt::ModelSolveParameters::ObjectiveParameters::Proto | ( | ) | const |
Returns the proto equivalent of this object.
Definition at line 140 of file model_solve_parameters.cc.
std::optional<double> operations_research::math_opt::ModelSolveParameters::ObjectiveParameters::objective_degradation_absolute_tolerance |
Optional objective degradation absolute tolerance. For a hierarchical multi-objective solver, each objective fⁱ is processed in priority order: the solver determines the optimal objective value Γⁱ, if it exists, subject to all constraints in the model and the additional constraints that fᵏ(x) = Γᵏ (within tolerances) for each k < i. If set, a solution is considered to be "within tolerances" for this objective fᵏ if |fᵏ(x) - Γᵏ| ≤ objective_degradation_absolute_tolerance
.
See also objective_degradation_relative_tolerance
; if both parameters are set for a given objective, the solver need only satisfy one to be considered "within tolerances".
If set, must be nonnegative.
Definition at line 170 of file model_solve_parameters.h.
std::optional<double> operations_research::math_opt::ModelSolveParameters::ObjectiveParameters::objective_degradation_relative_tolerance |
Optional objective degradation relative tolerance. For a hierarchical multi-objective solver, each objective fⁱ is processed in priority order: the solver determines the optimal objective value Γⁱ, if it exists, subject to all constraints in the model and the additional constraints that fᵏ(x) = Γᵏ (within tolerances) for each k < i. If set, a solution is considered to be "within tolerances" for this objective fᵏ if |fᵏ(x) - Γᵏ| ≤ objective_degradation_relative_tolerance
* Γᵏ
.
See also objective_degradation_absolute_tolerance
; if both parameters are set for a given objective, the solver need only satisfy one to be considered "within tolerances".
If set, must be nonnegative.
Definition at line 185 of file model_solve_parameters.h.