Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <gurobi_callback.h>
Public Attributes | |
SolverInterface::Callback | user_cb |
SolverInterface::MessageCallback | message_cb |
const gtl::linked_hash_map< int64_t, int > & | variable_ids |
int | num_gurobi_vars = 0 |
std::vector< bool > | events |
const SparseVectorFilterProto & | mip_solution_filter |
const SparseVectorFilterProto & | mip_node_filter |
const absl::Time | start |
Definition at line 35 of file gurobi_callback.h.
std::vector<bool> operations_research::math_opt::GurobiCallbackInput::events |
events[i] indicates if we should run user_cb when Gurobi's callback is triggered with where=i. See: https://www.gurobi.com/documentation/9.1/refman/cb_codes.html For list of possible values for where. See also EventToGurobiWhere() below.
Definition at line 44 of file gurobi_callback.h.
SolverInterface::MessageCallback operations_research::math_opt::GurobiCallbackInput::message_cb |
Definition at line 37 of file gurobi_callback.h.
const SparseVectorFilterProto& operations_research::math_opt::GurobiCallbackInput::mip_node_filter |
Definition at line 46 of file gurobi_callback.h.
const SparseVectorFilterProto& operations_research::math_opt::GurobiCallbackInput::mip_solution_filter |
Definition at line 45 of file gurobi_callback.h.
int operations_research::math_opt::GurobiCallbackInput::num_gurobi_vars = 0 |
Definition at line 39 of file gurobi_callback.h.
const absl::Time operations_research::math_opt::GurobiCallbackInput::start |
Definition at line 47 of file gurobi_callback.h.
SolverInterface::Callback operations_research::math_opt::GurobiCallbackInput::user_cb |
Definition at line 36 of file gurobi_callback.h.
const gtl::linked_hash_map<int64_t, int>& operations_research::math_opt::GurobiCallbackInput::variable_ids |
Definition at line 38 of file gurobi_callback.h.