Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <gscip_solver_constraint_handler.h>
Public Member Functions | |
GScipSolverConstraintHandler () | |
Public Member Functions inherited from operations_research::GScipConstraintHandler< GScipSolverConstraintData > | |
GScipConstraintHandler (const GScipConstraintHandlerProperties &properties) | |
virtual | ~GScipConstraintHandler ()=default |
const GScipConstraintHandlerProperties & | properties () const |
absl::Status | Register (GScip *gscip) |
Template implementations. | |
absl::StatusOr< SCIP_CONS * > | AddCallbackConstraint (GScip *gscip, const std::string &constraint_name, const GScipSolverConstraintData *constraint_data, const GScipConstraintOptions &options=DefaultGScipConstraintOptions()) |
virtual absl::StatusOr< GScipCallbackResult > | EnforceLp (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool solution_infeasible) |
Default callback implementations. | |
virtual absl::StatusOr< GScipCallbackResult > | EnforcePseudoSolution (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool solution_infeasible, bool objective_infeasible) |
virtual absl::StatusOr< bool > | CheckIsFeasible (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool check_integrality, bool check_lp_rows, bool print_reason, bool check_completely) |
virtual std::vector< std::pair< SCIP_VAR *, RoundingLockDirection > > | RoundingLock (GScip *gscip, const GScipSolverConstraintData &constraint_data, bool lock_type_is_model) |
virtual absl::StatusOr< GScipCallbackResult > | SeparateLp (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data) |
virtual absl::StatusOr< GScipCallbackResult > | SeparateSolution (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data) |
GScipCallbackResult | CallEnforceLp (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool solution_infeasible) |
The functions below wrap each callback function to manage status. | |
GScipCallbackResult | CallEnforcePseudoSolution (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool solution_infeasible, bool objective_infeasible) |
GScipCallbackResult | CallCheckIsFeasible (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data, bool check_integrality, bool check_lp_rows, bool print_reason, bool check_completely) |
GScipCallbackResult | CallSeparateLp (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data) |
GScipCallbackResult | CallSeparateSolution (GScipConstraintHandlerContext context, const GScipSolverConstraintData &constraint_data) |
Definition at line 55 of file gscip_solver_constraint_handler.h.
operations_research::math_opt::GScipSolverConstraintHandler::GScipSolverConstraintHandler | ( | ) |
Definition at line 104 of file gscip_solver_constraint_handler.cc.