Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <gscip_solver_constraint_handler.h>
Public Member Functions | |
void | SetWhenRunAndAdds (const CallbackRegistrationProto ®istration) |
absl::Status | Validate () const |
Public Attributes | |
SolverInterface::Callback | user_callback = nullptr |
const gtl::linked_hash_map< int64_t, SCIP_VAR * > * | variables = nullptr |
const SparseVectorFilterProto * | variable_node_filter = nullptr |
const SparseVectorFilterProto * | variable_solution_filter = nullptr |
absl::Time | solve_start_time = absl::UnixEpoch() |
bool | run_at_nodes = false |
bool | run_at_solutions = false |
bool | adds_cuts = false |
bool | adds_lazy_constraints = false |
GScip::Interrupter * | interrupter = nullptr |
Definition at line 34 of file gscip_solver_constraint_handler.h.
void operations_research::math_opt::GScipSolverConstraintData::SetWhenRunAndAdds | ( | const CallbackRegistrationProto & | registration | ) |
Definition at line 86 of file gscip_solver_constraint_handler.cc.
absl::Status operations_research::math_opt::GScipSolverConstraintData::Validate | ( | ) | const |
Ensures that when GScipSolverConstraintData::user_callback != nullptr, we also have that variables, variable_node_filter, variable_solution_filter, and interrupter are not nullptr as well. In a callback, when user_callback is nullptr, do not access these fields!
Definition at line 59 of file gscip_solver_constraint_handler.cc.
bool operations_research::math_opt::GScipSolverConstraintData::adds_cuts = false |
Definition at line 42 of file gscip_solver_constraint_handler.h.
bool operations_research::math_opt::GScipSolverConstraintData::adds_lazy_constraints = false |
Definition at line 43 of file gscip_solver_constraint_handler.h.
GScip::Interrupter* operations_research::math_opt::GScipSolverConstraintData::interrupter = nullptr |
Definition at line 44 of file gscip_solver_constraint_handler.h.
bool operations_research::math_opt::GScipSolverConstraintData::run_at_nodes = false |
Definition at line 40 of file gscip_solver_constraint_handler.h.
bool operations_research::math_opt::GScipSolverConstraintData::run_at_solutions = false |
Definition at line 41 of file gscip_solver_constraint_handler.h.
absl::Time operations_research::math_opt::GScipSolverConstraintData::solve_start_time = absl::UnixEpoch() |
Definition at line 39 of file gscip_solver_constraint_handler.h.
SolverInterface::Callback operations_research::math_opt::GScipSolverConstraintData::user_callback = nullptr |
Definition at line 35 of file gscip_solver_constraint_handler.h.
const SparseVectorFilterProto* operations_research::math_opt::GScipSolverConstraintData::variable_node_filter = nullptr |
Definition at line 37 of file gscip_solver_constraint_handler.h.
const SparseVectorFilterProto* operations_research::math_opt::GScipSolverConstraintData::variable_solution_filter = nullptr |
Definition at line 38 of file gscip_solver_constraint_handler.h.
const gtl::linked_hash_map<int64_t, SCIP_VAR*>* operations_research::math_opt::GScipSolverConstraintData::variables = nullptr |
Definition at line 36 of file gscip_solver_constraint_handler.h.