Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Arguments used when calling Solve() to solve the problem. More...
#include <base_solver.h>
Public Attributes | |
SolveParametersProto | parameters |
ModelSolveParametersProto | model_parameters |
MessageCallback | message_callback = nullptr |
CallbackRegistrationProto | callback_registration |
Callback | user_cb = nullptr |
const SolveInterrupter * | interrupter = nullptr |
Friends | |
std::ostream & | operator<< (std::ostream &out, const SolveArgs &args) |
Arguments used when calling Solve() to solve the problem.
Definition at line 57 of file base_solver.h.
|
friend |
Definition at line 32 of file base_solver.cc.
CallbackRegistrationProto operations_research::math_opt::BaseSolver::SolveArgs::callback_registration |
Definition at line 68 of file base_solver.h.
const SolveInterrupter* operations_research::math_opt::BaseSolver::SolveArgs::interrupter = nullptr |
An optional interrupter that the solver can use to interrupt the solve early.
Definition at line 73 of file base_solver.h.
MessageCallback operations_research::math_opt::BaseSolver::SolveArgs::message_callback = nullptr |
An optional callback for messages emitted by the solver.
When set it enables the solver messages and ignores the enable_output
in solve parameters; messages are redirected to the callback and not printed on stdout/stderr/logs anymore.
Definition at line 66 of file base_solver.h.
ModelSolveParametersProto operations_research::math_opt::BaseSolver::SolveArgs::model_parameters |
Definition at line 59 of file base_solver.h.
SolveParametersProto operations_research::math_opt::BaseSolver::SolveArgs::parameters |
Definition at line 58 of file base_solver.h.
Callback operations_research::math_opt::BaseSolver::SolveArgs::user_cb = nullptr |
Definition at line 69 of file base_solver.h.