Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::BaseSolver::SolveArgs Struct Reference

Arguments used when calling Solve() to solve the problem. More...

Detailed Description

Arguments used when calling Solve() to solve the problem.

Definition at line 57 of file base_solver.h.

#include <base_solver.h>

Public Attributes

SolveParametersProto parameters
ModelSolveParametersProto model_parameters
MessageCallback message_callback = nullptr
CallbackRegistrationProto callback_registration
Callback user_cb = nullptr
const SolveInterrupterinterrupter = nullptr

Friends

std::ostream & operator<< (std::ostream &out, const SolveArgs &args)

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const SolveArgs & args )
friend

Definition at line 32 of file base_solver.cc.

Member Data Documentation

◆ callback_registration

CallbackRegistrationProto operations_research::math_opt::BaseSolver::SolveArgs::callback_registration

Definition at line 68 of file base_solver.h.

◆ interrupter

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.

◆ message_callback

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.

◆ model_parameters

ModelSolveParametersProto operations_research::math_opt::BaseSolver::SolveArgs::model_parameters

Definition at line 59 of file base_solver.h.

◆ parameters

SolveParametersProto operations_research::math_opt::BaseSolver::SolveArgs::parameters

Definition at line 58 of file base_solver.h.

◆ user_cb

Callback operations_research::math_opt::BaseSolver::SolveArgs::user_cb = nullptr

Definition at line 69 of file base_solver.h.


The documentation for this struct was generated from the following file: