OR-Tools  9.2
SwigDirector_OptimizeVar

Detailed Description

Definition at line 279 of file constraint_solver_csharp_wrap.h.

Public Types

typedef char *(SWIGSTDCALLSWIG_Callback0_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback1_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback2_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback3_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback4_t) (void *)
 
typedef void(SWIGSTDCALLSWIG_Callback5_t) (void *, void *)
 
typedef void(SWIGSTDCALLSWIG_Callback6_t) (void *)
 
typedef void(SWIGSTDCALLSWIG_Callback7_t) (void *)
 
typedef void(SWIGSTDCALLSWIG_Callback8_t) (void *, unsigned int)
 
typedef void(SWIGSTDCALLSWIG_Callback9_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback10_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback11_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback12_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback13_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback14_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback15_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback16_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback17_t) (void *, void *)
 
typedef void(SWIGSTDCALLSWIG_Callback18_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback19_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback20_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback21_t) ()
 
typedef int(SWIGSTDCALLSWIG_Callback22_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback23_t) (void *)
 
typedef void(SWIGSTDCALLSWIG_Callback24_t) ()
 
typedef char *(SWIGSTDCALLSWIG_Callback25_t) ()
 

Public Member Functions

 SwigDirector_OptimizeVar (operations_research::Solver *const s, bool maximize, operations_research::IntVar *const a, int64_t step)
 
virtual ~SwigDirector_OptimizeVar ()
 
virtual std::string DebugString () const
 
virtual void EnterSearch ()
 Beginning of the search. More...
 
virtual void RestartSearch ()
 Restart the search. More...
 
virtual void ExitSearch ()
 End of the search. More...
 
virtual void BeginNextDecision (operations_research::DecisionBuilder *const db)
 Before calling DecisionBuilder::Next. More...
 
virtual void EndNextDecision (operations_research::DecisionBuilder *const b, operations_research::Decision *const d)
 After calling DecisionBuilder::Next, along with the returned decision. More...
 
virtual void ApplyDecision (operations_research::Decision *const d)
 Before applying the decision. More...
 
virtual void RefuteDecision (operations_research::Decision *const d)
 Before refuting the decision. More...
 
virtual void AfterDecision (operations_research::Decision *const d, bool apply)
 Just after refuting or applying the decision, apply is true after Apply. More...
 
virtual void BeginFail ()
 Just when the failure occurs. More...
 
virtual void EndFail ()
 After completing the backtrack. More...
 
virtual void BeginInitialPropagation ()
 Before the initial propagation. More...
 
virtual void EndInitialPropagation ()
 After the initial propagation. More...
 
virtual bool AcceptSolution ()
 This method is called when a solution is found. More...
 
virtual bool AtSolution ()
 This method is called when a valid solution is found. More...
 
virtual void NoMoreSolutions ()
 When the search tree is finished. More...
 
virtual bool LocalOptimum ()
 When a local optimum is reached. More...
 
virtual bool AcceptDelta (operations_research::Assignment *delta, operations_research::Assignment *deltadelta)
 Internal methods. More...
 
virtual void AcceptNeighbor ()
 After accepting a neighbor during local search. More...
 
virtual void AcceptUncheckedNeighbor ()
 After accepting an unchecked neighbor during local search. More...
 
virtual bool IsUncheckedSolutionLimitReached ()
 Returns true if the limit of solutions has been reached including unchecked solutions. More...
 
virtual void PeriodicCheck ()
 Periodic call to check limits in long running methods. More...
 
virtual int ProgressPercent ()
 Returns a percentage representing the propress of the search before reaching limits. More...
 
virtual void Accept (operations_research::ModelVisitor *const visitor) const
 Accepts the given model visitor. More...
 
virtual void Install ()
 Registers itself on the solver such that it gets notified of the search and propagation events. More...
 
virtual std::string Print () const
 
void swig_connect_director (SWIG_Callback0_t callbackToString, SWIG_Callback1_t callbackEnterSearch, SWIG_Callback2_t callbackRestartSearch, SWIG_Callback3_t callbackExitSearch, SWIG_Callback4_t callbackBeginNextDecision, SWIG_Callback5_t callbackEndNextDecision, SWIG_Callback6_t callbackApplyDecision, SWIG_Callback7_t callbackRefuteDecision, SWIG_Callback8_t callbackAfterDecision, SWIG_Callback9_t callbackBeginFail, SWIG_Callback10_t callbackEndFail, SWIG_Callback11_t callbackBeginInitialPropagation, SWIG_Callback12_t callbackEndInitialPropagation, SWIG_Callback13_t callbackAcceptSolution, SWIG_Callback14_t callbackAtSolution, SWIG_Callback15_t callbackNoMoreSolutions, SWIG_Callback16_t callbackLocalOptimum, SWIG_Callback17_t callbackAcceptDelta, SWIG_Callback18_t callbackAcceptNeighbor, SWIG_Callback19_t callbackAcceptUncheckedNeighbor, SWIG_Callback20_t callbackIsUncheckedSolutionLimitReached, SWIG_Callback21_t callbackPeriodicCheck, SWIG_Callback22_t callbackProgressPercent, SWIG_Callback23_t callbackAccept, SWIG_Callback24_t callbackInstall, SWIG_Callback25_t callbackPrint)
 
int64_t best () const
 Returns the best value found during search. More...
 
IntVar * Var () const
 Returns the variable that is optimized. More...
 
void ApplyBound ()
 
Solver * solver () const
 
bool swig_set_self (JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global)
 
bool swig_set_self (JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global)
 
jobject swig_get_self (JNIEnv *jenv) const
 
PyObject * swig_get_self () const
 
jobject swig_get_self (JNIEnv *jenv) const
 
PyObject * swig_get_self () const
 
void swig_java_change_ownership (JNIEnv *jenv, jobject jself, bool take_or_release)
 
void swig_java_change_ownership (JNIEnv *jenv, jobject jself, bool take_or_release)
 
void swig_disown () const
 
void swig_disown () const
 
void swig_incref () const
 
void swig_incref () const
 
virtual bool swig_get_inner (const char *) const
 
virtual bool swig_get_inner (const char *) const
 
virtual void swig_set_inner (const char *, bool) const
 
virtual void swig_set_inner (const char *, bool) const
 
template<typename Type >
void swig_acquire_ownership_array (Type *vptr) const
 
template<typename Type >
void swig_acquire_ownership_array (Type *vptr) const
 
template<typename Type >
void swig_acquire_ownership (Type *vptr) const
 
template<typename Type >
void swig_acquire_ownership (Type *vptr) const
 
void swig_acquire_ownership_obj (void *vptr, int own) const
 
void swig_acquire_ownership_obj (void *vptr, int own) const
 
int swig_release_ownership (void *vptr) const
 
int swig_release_ownership (void *vptr) const
 

Static Public Member Functions

template<typename Type >
static PyObject * swig_pyobj_disown (PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args))
 
template<typename Type >
static PyObject * swig_pyobj_disown (PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args))
 

Static Public Attributes

static constexpr int kNoProgress = -1
 

Protected Member Functions

void swig_disconnect_director_self (const char *disconn_method)
 
void swig_disconnect_director_self (const char *disconn_method)
 

Protected Attributes

IntVar *const var_
 
int64_t step_
 
int64_t best_
 
bool maximize_
 
bool found_initial_solution_
 
JObjectWrapper swig_self_
 

Member Typedef Documentation

◆ SWIG_Callback0_t

typedef char *(SWIGSTDCALL * SWIG_Callback0_t) ()

Definition at line 311 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback10_t

typedef void(SWIGSTDCALL * SWIG_Callback10_t) ()

Definition at line 321 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback11_t

typedef void(SWIGSTDCALL * SWIG_Callback11_t) ()

Definition at line 322 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback12_t

typedef void(SWIGSTDCALL * SWIG_Callback12_t) ()

Definition at line 323 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback13_t

typedef unsigned int(SWIGSTDCALL * SWIG_Callback13_t) ()

Definition at line 324 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback14_t

typedef unsigned int(SWIGSTDCALL * SWIG_Callback14_t) ()

Definition at line 325 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback15_t

typedef void(SWIGSTDCALL * SWIG_Callback15_t) ()

Definition at line 326 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback16_t

typedef unsigned int(SWIGSTDCALL * SWIG_Callback16_t) ()

Definition at line 327 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback17_t

typedef unsigned int(SWIGSTDCALL * SWIG_Callback17_t) (void *, void *)

Definition at line 328 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback18_t

typedef void(SWIGSTDCALL * SWIG_Callback18_t) ()

Definition at line 329 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback19_t

typedef void(SWIGSTDCALL * SWIG_Callback19_t) ()

Definition at line 330 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback1_t

typedef void(SWIGSTDCALL * SWIG_Callback1_t) ()

Definition at line 312 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback20_t

typedef unsigned int(SWIGSTDCALL * SWIG_Callback20_t) ()

Definition at line 331 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback21_t

typedef void(SWIGSTDCALL * SWIG_Callback21_t) ()

Definition at line 332 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback22_t

typedef int(SWIGSTDCALL * SWIG_Callback22_t) ()

Definition at line 333 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback23_t

typedef void(SWIGSTDCALL * SWIG_Callback23_t) (void *)

Definition at line 334 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback24_t

typedef void(SWIGSTDCALL * SWIG_Callback24_t) ()

Definition at line 335 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback25_t

typedef char *(SWIGSTDCALL * SWIG_Callback25_t) ()

Definition at line 336 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback2_t

typedef void(SWIGSTDCALL * SWIG_Callback2_t) ()

Definition at line 313 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback3_t

typedef void(SWIGSTDCALL * SWIG_Callback3_t) ()

Definition at line 314 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback4_t

typedef void(SWIGSTDCALL * SWIG_Callback4_t) (void *)

Definition at line 315 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback5_t

typedef void(SWIGSTDCALL * SWIG_Callback5_t) (void *, void *)

Definition at line 316 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback6_t

typedef void(SWIGSTDCALL * SWIG_Callback6_t) (void *)

Definition at line 317 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback7_t

typedef void(SWIGSTDCALL * SWIG_Callback7_t) (void *)

Definition at line 318 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback8_t

typedef void(SWIGSTDCALL * SWIG_Callback8_t) (void *, unsigned int)

Definition at line 319 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback9_t

typedef void(SWIGSTDCALL * SWIG_Callback9_t) ()

Definition at line 320 of file constraint_solver_csharp_wrap.h.

Constructor & Destructor Documentation

◆ SwigDirector_OptimizeVar()

SwigDirector_OptimizeVar ( operations_research::Solver *const  s,
bool  maximize,
operations_research::IntVar *const  a,
int64_t  step 
)

Definition at line 2991 of file constraint_solver_csharp_wrap.cc.

◆ ~SwigDirector_OptimizeVar()

Definition at line 2995 of file constraint_solver_csharp_wrap.cc.

Member Function Documentation

◆ Accept()

void Accept ( operations_research::ModelVisitor *const  visitor) const
virtual

Accepts the given model visitor.

Reimplemented from OptimizeVar.

Definition at line 3262 of file constraint_solver_csharp_wrap.cc.

◆ AcceptDelta()

bool AcceptDelta ( operations_research::Assignment delta,
operations_research::Assignment deltadelta 
)
virtual

Internal methods.

Reimplemented from OptimizeVar.

Definition at line 3192 of file constraint_solver_csharp_wrap.cc.

◆ AcceptNeighbor()

void AcceptNeighbor ( )
virtual

After accepting a neighbor during local search.

Reimplemented from SearchMonitor.

Definition at line 3209 of file constraint_solver_csharp_wrap.cc.

◆ AcceptSolution()

bool AcceptSolution ( )
virtual

This method is called when a solution is found.

It asserts whether the solution is valid. A value of false indicates that the solution should be discarded.

Reimplemented from OptimizeVar.

Definition at line 3144 of file constraint_solver_csharp_wrap.cc.

◆ AcceptUncheckedNeighbor()

void AcceptUncheckedNeighbor ( )
virtual

After accepting an unchecked neighbor during local search.

Reimplemented from SearchMonitor.

Definition at line 3218 of file constraint_solver_csharp_wrap.cc.

◆ AfterDecision()

void AfterDecision ( operations_research::Decision *const  d,
bool  apply 
)
virtual

Just after refuting or applying the decision, apply is true after Apply.

This is called only if the Apply() or Refute() methods have not failed.

Reimplemented from SearchMonitor.

Definition at line 3094 of file constraint_solver_csharp_wrap.cc.

◆ ApplyBound()

void ApplyBound ( )
inherited

Definition at line 2816 of file search.cc.

◆ ApplyDecision()

void ApplyDecision ( operations_research::Decision *const  d)
virtual

Before applying the decision.

Reimplemented from SearchMonitor.

Definition at line 3070 of file constraint_solver_csharp_wrap.cc.

◆ AtSolution()

bool AtSolution ( )
virtual

This method is called when a valid solution is found.

If the return value is true, then search will resume after. If the result is false, then search will stop there.

Reimplemented from OptimizeVar.

Definition at line 3157 of file constraint_solver_csharp_wrap.cc.

◆ BeginFail()

void BeginFail ( )
virtual

Just when the failure occurs.

Reimplemented from SearchMonitor.

Definition at line 3108 of file constraint_solver_csharp_wrap.cc.

◆ BeginInitialPropagation()

void BeginInitialPropagation ( )
virtual

Before the initial propagation.

Reimplemented from SearchMonitor.

Definition at line 3126 of file constraint_solver_csharp_wrap.cc.

◆ BeginNextDecision()

void BeginNextDecision ( operations_research::DecisionBuilder *const  b)
virtual

Before calling DecisionBuilder::Next.

Reimplemented from OptimizeVar.

Definition at line 3044 of file constraint_solver_csharp_wrap.cc.

◆ best()

int64_t best ( ) const
inlineinherited

Returns the best value found during search.

Definition at line 4253 of file constraint_solver.h.

◆ DebugString()

std::string DebugString ( ) const
virtual

Reimplemented from OptimizeVar.

Definition at line 3000 of file constraint_solver_csharp_wrap.cc.

◆ EndFail()

void EndFail ( )
virtual

After completing the backtrack.

Reimplemented from SearchMonitor.

Definition at line 3117 of file constraint_solver_csharp_wrap.cc.

◆ EndInitialPropagation()

void EndInitialPropagation ( )
virtual

After the initial propagation.

Reimplemented from SearchMonitor.

Definition at line 3135 of file constraint_solver_csharp_wrap.cc.

◆ EndNextDecision()

void EndNextDecision ( operations_research::DecisionBuilder *const  b,
operations_research::Decision *const  d 
)
virtual

After calling DecisionBuilder::Next, along with the returned decision.

Reimplemented from SearchMonitor.

Definition at line 3056 of file constraint_solver_csharp_wrap.cc.

◆ EnterSearch()

void EnterSearch ( )
virtual

Beginning of the search.

Reimplemented from OptimizeVar.

Definition at line 3017 of file constraint_solver_csharp_wrap.cc.

◆ ExitSearch()

void ExitSearch ( )
virtual

End of the search.

Reimplemented from SearchMonitor.

Definition at line 3035 of file constraint_solver_csharp_wrap.cc.

◆ Install()

void Install ( )
virtual

Registers itself on the solver such that it gets notified of the search and propagation events.

Reimplemented from SearchMonitor.

Definition at line 3274 of file constraint_solver_csharp_wrap.cc.

◆ IsUncheckedSolutionLimitReached()

bool IsUncheckedSolutionLimitReached ( )
virtual

Returns true if the limit of solutions has been reached including unchecked solutions.

Reimplemented from SearchMonitor.

Definition at line 3227 of file constraint_solver_csharp_wrap.cc.

◆ LocalOptimum()

bool LocalOptimum ( )
virtual

When a local optimum is reached.

If 'true' is returned, the last solution is discarded and the search proceeds with the next one.

Reimplemented from SearchMonitor.

Definition at line 3179 of file constraint_solver_csharp_wrap.cc.

◆ NoMoreSolutions()

void NoMoreSolutions ( )
virtual

When the search tree is finished.

Reimplemented from SearchMonitor.

Definition at line 3170 of file constraint_solver_csharp_wrap.cc.

◆ PeriodicCheck()

void PeriodicCheck ( )
virtual

Periodic call to check limits in long running methods.

Reimplemented from SearchMonitor.

Definition at line 3240 of file constraint_solver_csharp_wrap.cc.

◆ Print()

std::string Print ( ) const
virtual

Reimplemented from OptimizeVar.

Definition at line 3283 of file constraint_solver_csharp_wrap.cc.

◆ ProgressPercent()

int ProgressPercent ( )
virtual

Returns a percentage representing the propress of the search before reaching limits.

Reimplemented from SearchMonitor.

Definition at line 3249 of file constraint_solver_csharp_wrap.cc.

◆ RefuteDecision()

void RefuteDecision ( operations_research::Decision *const  d)
virtual

Before refuting the decision.

Reimplemented from OptimizeVar.

Definition at line 3082 of file constraint_solver_csharp_wrap.cc.

◆ RestartSearch()

void RestartSearch ( )
virtual

Restart the search.

Reimplemented from SearchMonitor.

Definition at line 3026 of file constraint_solver_csharp_wrap.cc.

◆ solver()

Solver * solver ( ) const
inlineinherited

Definition at line 3750 of file constraint_solver.h.

◆ swig_acquire_ownership() [1/2]

void swig_acquire_ownership ( Type *  vptr) const
inlineinherited

Definition at line 3053 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership() [2/2]

void swig_acquire_ownership ( Type *  vptr) const
inlineinherited

Definition at line 3054 of file sat_python_wrap.cc.

◆ swig_acquire_ownership_array() [1/2]

void swig_acquire_ownership_array ( Type *  vptr) const
inlineinherited

Definition at line 3045 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership_array() [2/2]

void swig_acquire_ownership_array ( Type *  vptr) const
inlineinherited

Definition at line 3046 of file sat_python_wrap.cc.

◆ swig_acquire_ownership_obj() [1/2]

void swig_acquire_ownership_obj ( void *  vptr,
int  own 
) const
inlineinherited

Definition at line 3060 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership_obj() [2/2]

void swig_acquire_ownership_obj ( void *  vptr,
int  own 
) const
inlineinherited

Definition at line 3061 of file sat_python_wrap.cc.

◆ swig_connect_director()

void swig_connect_director ( SWIG_Callback0_t  callbackToString,
SWIG_Callback1_t  callbackEnterSearch,
SWIG_Callback2_t  callbackRestartSearch,
SWIG_Callback3_t  callbackExitSearch,
SWIG_Callback4_t  callbackBeginNextDecision,
SWIG_Callback5_t  callbackEndNextDecision,
SWIG_Callback6_t  callbackApplyDecision,
SWIG_Callback7_t  callbackRefuteDecision,
SWIG_Callback8_t  callbackAfterDecision,
SWIG_Callback9_t  callbackBeginFail,
SWIG_Callback10_t  callbackEndFail,
SWIG_Callback11_t  callbackBeginInitialPropagation,
SWIG_Callback12_t  callbackEndInitialPropagation,
SWIG_Callback13_t  callbackAcceptSolution,
SWIG_Callback14_t  callbackAtSolution,
SWIG_Callback15_t  callbackNoMoreSolutions,
SWIG_Callback16_t  callbackLocalOptimum,
SWIG_Callback17_t  callbackAcceptDelta,
SWIG_Callback18_t  callbackAcceptNeighbor,
SWIG_Callback19_t  callbackAcceptUncheckedNeighbor,
SWIG_Callback20_t  callbackIsUncheckedSolutionLimitReached,
SWIG_Callback21_t  callbackPeriodicCheck,
SWIG_Callback22_t  callbackProgressPercent,
SWIG_Callback23_t  callbackAccept,
SWIG_Callback24_t  callbackInstall,
SWIG_Callback25_t  callbackPrint 
)

Definition at line 3300 of file constraint_solver_csharp_wrap.cc.

◆ swig_disconnect_director_self() [1/2]

void swig_disconnect_director_self ( const char *  disconn_method)
inlineprotectedinherited

Definition at line 488 of file constraint_solver_java_wrap.cc.

◆ swig_disconnect_director_self() [2/2]

void swig_disconnect_director_self ( const char *  disconn_method)
inlineprotectedinherited

Definition at line 471 of file sat_java_wrap.cc.

◆ swig_disown() [1/2]

void swig_disown ( ) const
inlineinherited

Definition at line 3013 of file constraint_solver_python_wrap.cc.

◆ swig_disown() [2/2]

void swig_disown ( ) const
inlineinherited

Definition at line 3014 of file sat_python_wrap.cc.

◆ swig_get_inner() [1/2]

◆ swig_get_inner() [2/2]

◆ swig_get_self() [1/4]

PyObject * swig_get_self ( ) const
inlineinherited

Definition at line 3008 of file constraint_solver_python_wrap.cc.

◆ swig_get_self() [2/4]

PyObject * swig_get_self ( ) const
inlineinherited

Definition at line 3009 of file sat_python_wrap.cc.

◆ swig_get_self() [3/4]

jobject swig_get_self ( JNIEnv *  jenv) const
inlineinherited

Definition at line 523 of file constraint_solver_java_wrap.cc.

◆ swig_get_self() [4/4]

jobject swig_get_self ( JNIEnv *  jenv) const
inlineinherited

Definition at line 506 of file sat_java_wrap.cc.

◆ swig_incref() [1/2]

void swig_incref ( ) const
inlineinherited

Definition at line 3021 of file constraint_solver_python_wrap.cc.

◆ swig_incref() [2/2]

void swig_incref ( ) const
inlineinherited

Definition at line 3022 of file sat_python_wrap.cc.

◆ swig_java_change_ownership() [1/2]

void swig_java_change_ownership ( JNIEnv *  jenv,
jobject  jself,
bool  take_or_release 
)
inlineinherited

Definition at line 528 of file constraint_solver_java_wrap.cc.

◆ swig_java_change_ownership() [2/2]

void swig_java_change_ownership ( JNIEnv *  jenv,
jobject  jself,
bool  take_or_release 
)
inlineinherited

Definition at line 511 of file sat_java_wrap.cc.

◆ swig_pyobj_disown() [1/2]

static PyObject * swig_pyobj_disown ( PyObject *  pyobj,
PyObject *  SWIGUNUSEDPARMargs 
)
inlinestaticinherited

Definition at line 3081 of file constraint_solver_python_wrap.cc.

◆ swig_pyobj_disown() [2/2]

static PyObject * swig_pyobj_disown ( PyObject *  pyobj,
PyObject *  SWIGUNUSEDPARMargs 
)
inlinestaticinherited

Definition at line 3082 of file sat_python_wrap.cc.

◆ swig_release_ownership() [1/2]

int swig_release_ownership ( void *  vptr) const
inlineinherited

Definition at line 3067 of file constraint_solver_python_wrap.cc.

◆ swig_release_ownership() [2/2]

int swig_release_ownership ( void *  vptr) const
inlineinherited

Definition at line 3068 of file sat_python_wrap.cc.

◆ swig_set_inner() [1/2]

◆ swig_set_inner() [2/2]

◆ swig_set_self() [1/2]

bool swig_set_self ( JNIEnv *  jenv,
jobject  jself,
bool  mem_own,
bool  weak_global 
)
inlineinherited

Definition at line 519 of file constraint_solver_java_wrap.cc.

◆ swig_set_self() [2/2]

bool swig_set_self ( JNIEnv *  jenv,
jobject  jself,
bool  mem_own,
bool  weak_global 
)
inlineinherited

Definition at line 502 of file sat_java_wrap.cc.

◆ Var()

IntVar * Var ( ) const
inlineinherited

Returns the variable that is optimized.

Definition at line 4256 of file constraint_solver.h.

Member Data Documentation

◆ best_

int64_t best_
protectedinherited

Definition at line 4273 of file constraint_solver.h.

◆ found_initial_solution_

bool found_initial_solution_
protectedinherited

Definition at line 4275 of file constraint_solver.h.

◆ kNoProgress

constexpr int kNoProgress = -1
staticconstexprinherited

Definition at line 3679 of file constraint_solver.h.

◆ maximize_

bool maximize_
protectedinherited

Definition at line 4274 of file constraint_solver.h.

◆ step_

int64_t step_
protectedinherited

Definition at line 4272 of file constraint_solver.h.

◆ swig_self_

JObjectWrapper swig_self_
protectedinherited

Definition at line 485 of file constraint_solver_java_wrap.cc.

◆ var_

IntVar* const var_
protectedinherited

Definition at line 4271 of file constraint_solver.h.


The documentation for this class was generated from the following files: