Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.sat.SolveWrapper Class Reference

Public Member Functions

 SolveWrapper (long cPtr, boolean cMemoryOwn)
 
synchronized void delete ()
 
void setParameters (com.google.ortools.sat.SatParameters parameters)
 
void addSolutionCallback (SolutionCallback callback)
 
void clearSolutionCallback (SolutionCallback callback)
 
void addLogCallback (java.util.function.Consumer< String > log_callback)
 
void addBestBoundCallback (java.util.function.Consumer< Double > best_bound_callback)
 
com.google.ortools.sat.CpSolverResponse solve (com.google.ortools.sat.CpModelProto model_proto)
 
void stopSearch ()
 
 SolveWrapper ()
 

Static Public Member Functions

static long getCPtr (SolveWrapper obj)
 
static long swigRelease (SolveWrapper obj)
 

Protected Member Functions

void finalize ()
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Definition at line 11 of file SolveWrapper.java.

Constructor & Destructor Documentation

◆ SolveWrapper() [1/2]

com.google.ortools.sat.SolveWrapper.SolveWrapper ( long cPtr,
boolean cMemoryOwn )

Definition at line 15 of file SolveWrapper.java.

◆ SolveWrapper() [2/2]

com.google.ortools.sat.SolveWrapper.SolveWrapper ( )

Definition at line 88 of file SolveWrapper.java.

Member Function Documentation

◆ addBestBoundCallback()

void com.google.ortools.sat.SolveWrapper.addBestBoundCallback ( java.util.function.Consumer< Double > best_bound_callback)

Definition at line 67 of file SolveWrapper.java.

◆ addLogCallback()

void com.google.ortools.sat.SolveWrapper.addLogCallback ( java.util.function.Consumer< String > log_callback)

Definition at line 63 of file SolveWrapper.java.

◆ addSolutionCallback()

void com.google.ortools.sat.SolveWrapper.addSolutionCallback ( SolutionCallback callback)

Definition at line 55 of file SolveWrapper.java.

◆ clearSolutionCallback()

void com.google.ortools.sat.SolveWrapper.clearSolutionCallback ( SolutionCallback callback)

Definition at line 59 of file SolveWrapper.java.

◆ delete()

synchronized void com.google.ortools.sat.SolveWrapper.delete ( )

Definition at line 41 of file SolveWrapper.java.

◆ finalize()

void com.google.ortools.sat.SolveWrapper.finalize ( )
protected

Definition at line 37 of file SolveWrapper.java.

◆ getCPtr()

static long com.google.ortools.sat.SolveWrapper.getCPtr ( SolveWrapper obj)
static

Definition at line 20 of file SolveWrapper.java.

◆ setParameters()

void com.google.ortools.sat.SolveWrapper.setParameters ( com.google.ortools.sat.SatParameters parameters)

Definition at line 51 of file SolveWrapper.java.

◆ solve()

com.google.ortools.sat.CpSolverResponse com.google.ortools.sat.SolveWrapper.solve ( com.google.ortools.sat.CpModelProto model_proto)

Definition at line 71 of file SolveWrapper.java.

◆ stopSearch()

void com.google.ortools.sat.SolveWrapper.stopSearch ( )

Definition at line 84 of file SolveWrapper.java.

◆ swigRelease()

static long com.google.ortools.sat.SolveWrapper.swigRelease ( SolveWrapper obj)
static

Definition at line 24 of file SolveWrapper.java.

Member Data Documentation

◆ swigCMemOwn

transient boolean com.google.ortools.sat.SolveWrapper.swigCMemOwn
protected

Definition at line 13 of file SolveWrapper.java.


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