Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gscip_constraint_handler.cc File Reference
#include "ortools/gscip/gscip_constraint_handler.h"
#include <functional>
#include <memory>
#include <string>
#include <utility>
#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/types/span.h"
#include "ortools/base/logging.h"
#include "ortools/base/status_macros.h"
#include "ortools/gscip/gscip.h"
#include "ortools/gscip/gscip_callback_result.h"
#include "ortools/linear_solver/scip_helper_macros.h"
#include "scip/def.h"
#include "scip/pub_cons.h"
#include "scip/pub_message.h"
#include "scip/pub_var.h"
#include "scip/scip_cons.h"
#include "scip/scip_cut.h"
#include "scip/scip_general.h"
#include "scip/scip_lp.h"
#include "scip/scip_sol.h"
#include "scip/scip_solvingstats.h"
#include "scip/scip_tree.h"
#include "scip/scip_var.h"
#include "scip/struct_cons.h"
#include "scip/struct_tree.h"
#include "scip/type_cons.h"
#include "scip/type_lp.h"
#include "scip/type_retcode.h"
#include "scip/type_scip.h"
#include "scip/type_set.h"
#include "scip/type_tree.h"
#include "scip/type_var.h"

Go to the source code of this file.

Classes

struct  SCIP_ConshdlrData
 
struct  SCIP_ConsData
 

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 
namespace  operations_research::internal
 End of the interface. Below is the implementation.
 

Typedefs

using GScipHandler
 

Functions

int operations_research::ConstraintHandlerResultPriority (const GScipCallbackResult result, const ConstraintHandlerCallbackType callback_type)
 
GScipCallbackResult operations_research::MergeConstraintHandlerResults (const GScipCallbackResult result1, const GScipCallbackResult result2, const ConstraintHandlerCallbackType callback_type)
 
static SCIP_DECL_CONSFREE (ConstraintHandlerFreeC)
 
static SCIP_DECL_CONSDELETE (ConstraintDataDeleteC)
 
static SCIP_DECL_CONSENFOLP (EnforceLpC)
 
static SCIP_DECL_CONSENFOPS (EnforcePseudoSolutionC)
 
static SCIP_DECL_CONSCHECK (CheckFeasibilityC)
 
static SCIP_DECL_CONSSEPALP (SeparateLpC)
 
static SCIP_DECL_CONSSEPASOL (SeparatePrimalSolutionC)
 
static SCIP_DECL_CONSLOCK (VariableRoundingLockC)
 
absl::Status operations_research::internal::RegisterConstraintHandler (GScip *gscip, std::unique_ptr< UntypedGScipConstraintHandler > constraint_handler)
 
absl::StatusOr< SCIP_CONS * > operations_research::internal::AddCallbackConstraint (GScip *gscip, const std::string &handler_name, const std::string &constraint_name, void *constraint_data, const GScipConstraintOptions &options)
 

Typedef Documentation

◆ GScipHandler

Function Documentation

◆ SCIP_DECL_CONSCHECK()

static SCIP_DECL_CONSCHECK ( CheckFeasibilityC )
static

Definition at line 468 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSDELETE()

static SCIP_DECL_CONSDELETE ( ConstraintDataDeleteC )
static

Definition at line 405 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSENFOLP()

static SCIP_DECL_CONSENFOLP ( EnforceLpC )
static

Definition at line 415 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSENFOPS()

static SCIP_DECL_CONSENFOPS ( EnforcePseudoSolutionC )
static

Definition at line 440 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSFREE()

static SCIP_DECL_CONSFREE ( ConstraintHandlerFreeC )
static

SCIP callback implementation Destructor of the constraint handler to free user data (called when SCIP is exiting).

Definition at line 390 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSLOCK()

static SCIP_DECL_CONSLOCK ( VariableRoundingLockC )
static

Definition at line 543 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSSEPALP()

static SCIP_DECL_CONSSEPALP ( SeparateLpC )
static

Definition at line 497 of file gscip_constraint_handler.cc.

◆ SCIP_DECL_CONSSEPASOL()

static SCIP_DECL_CONSSEPASOL ( SeparatePrimalSolutionC )
static

Definition at line 520 of file gscip_constraint_handler.cc.