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

#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
 

Detailed Description

Definition at line 35 of file gurobi_callback.h.

Member Data Documentation

◆ events

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.

◆ message_cb

SolverInterface::MessageCallback operations_research::math_opt::GurobiCallbackInput::message_cb

Definition at line 37 of file gurobi_callback.h.

◆ mip_node_filter

const SparseVectorFilterProto& operations_research::math_opt::GurobiCallbackInput::mip_node_filter

Definition at line 46 of file gurobi_callback.h.

◆ mip_solution_filter

const SparseVectorFilterProto& operations_research::math_opt::GurobiCallbackInput::mip_solution_filter

Definition at line 45 of file gurobi_callback.h.

◆ num_gurobi_vars

int operations_research::math_opt::GurobiCallbackInput::num_gurobi_vars = 0

Definition at line 39 of file gurobi_callback.h.

◆ start

const absl::Time operations_research::math_opt::GurobiCallbackInput::start

Definition at line 47 of file gurobi_callback.h.

◆ user_cb

SolverInterface::Callback operations_research::math_opt::GurobiCallbackInput::user_cb

Definition at line 36 of file gurobi_callback.h.

◆ variable_ids

const gtl::linked_hash_map<int64_t, int>& operations_research::math_opt::GurobiCallbackInput::variable_ids

Definition at line 38 of file gurobi_callback.h.


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