Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
scip_callback.h File Reference
#include <cstdint>
#include <memory>
#include <string>
#include <vector>
#include "ortools/linear_solver/linear_expr.h"
#include "ortools/linear_solver/linear_solver.h"
#include "scip/type_scip.h"
#include "scip/type_sol.h"

Go to the source code of this file.

Classes

struct  operations_research::ScipConstraintHandlerDescription
 
class  operations_research::ScipConstraintHandlerContext
 
struct  operations_research::CallbackRangeConstraint
 
class  operations_research::ScipConstraintHandler< Constraint >
 
struct  operations_research::ScipCallbackConstraintOptions
 
class  operations_research::internal::ScipCallbackRunner
 
class  operations_research::internal::ScipCallbackRunnerImpl< ConstraintData >
 

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.
 

Functions

template<typename Constraint >
void operations_research::RegisterConstraintHandler (ScipConstraintHandler< Constraint > *handler, SCIP *scip)
 handler is not owned but held.
 
template<typename ConstraintData >
void operations_research::AddCallbackConstraint (SCIP *scip, ScipConstraintHandler< ConstraintData > *handler, const std::string &constraint_name, const ConstraintData *constraint_data, const ScipCallbackConstraintOptions &options)
 constraint_data is not owned but held.
 
void operations_research::internal::AddConstraintHandlerImpl (const ScipConstraintHandlerDescription &description, std::unique_ptr< ScipCallbackRunner > runner, SCIP *scip)
 
void operations_research::internal::AddCallbackConstraintImpl (SCIP *scip, const std::string &handler_name, const std::string &constraint_name, void *constraint_data, const ScipCallbackConstraintOptions &options)
 
template<typename ConstraintData >
void operations_research::RegisterConstraintHandler (ScipConstraintHandler< ConstraintData > *handler, SCIP *scip)