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

Public Member Functions

 SolutionCallback (long cPtr, boolean cMemoryOwn)
 
synchronized void delete ()
 
void swigReleaseOwnership ()
 
void swigTakeOwnership ()
 
void onSolutionCallback ()
 
long numBooleans ()
 
long numBranches ()
 
long numConflicts ()
 
long numBinaryPropagations ()
 
long numIntegerPropagations ()
 
double wallTime ()
 
double userTime ()
 
double objectiveValue ()
 
double bestObjectiveBound ()
 
long solutionIntegerValue (int index)
 
boolean solutionBooleanValue (int index)
 
void stopSearch ()
 
 SolutionCallback ()
 

Static Public Member Functions

static long getCPtr (SolutionCallback obj)
 
static long swigRelease (SolutionCallback obj)
 

Protected Member Functions

void finalize ()
 
void swigDirectorDisconnect ()
 

Protected Attributes

transient boolean swigCMemOwn
 

Detailed Description

Definition at line 11 of file SolutionCallback.java.

Constructor & Destructor Documentation

◆ SolutionCallback() [1/2]

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

Definition at line 15 of file SolutionCallback.java.

◆ SolutionCallback() [2/2]

com.google.ortools.sat.SolutionCallback.SolutionCallback ( )

Definition at line 118 of file SolutionCallback.java.

Member Function Documentation

◆ bestObjectiveBound()

double com.google.ortools.sat.SolutionCallback.bestObjectiveBound ( )

Definition at line 102 of file SolutionCallback.java.

◆ delete()

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

Definition at line 41 of file SolutionCallback.java.

◆ finalize()

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

Definition at line 37 of file SolutionCallback.java.

◆ getCPtr()

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

Definition at line 20 of file SolutionCallback.java.

◆ numBinaryPropagations()

long com.google.ortools.sat.SolutionCallback.numBinaryPropagations ( )

Definition at line 82 of file SolutionCallback.java.

◆ numBooleans()

long com.google.ortools.sat.SolutionCallback.numBooleans ( )

Definition at line 70 of file SolutionCallback.java.

◆ numBranches()

long com.google.ortools.sat.SolutionCallback.numBranches ( )

Definition at line 74 of file SolutionCallback.java.

◆ numConflicts()

long com.google.ortools.sat.SolutionCallback.numConflicts ( )

Definition at line 78 of file SolutionCallback.java.

◆ numIntegerPropagations()

long com.google.ortools.sat.SolutionCallback.numIntegerPropagations ( )

Definition at line 86 of file SolutionCallback.java.

◆ objectiveValue()

double com.google.ortools.sat.SolutionCallback.objectiveValue ( )

Definition at line 98 of file SolutionCallback.java.

◆ onSolutionCallback()

void com.google.ortools.sat.SolutionCallback.onSolutionCallback ( )

◆ solutionBooleanValue()

boolean com.google.ortools.sat.SolutionCallback.solutionBooleanValue ( int index)

Definition at line 110 of file SolutionCallback.java.

◆ solutionIntegerValue()

long com.google.ortools.sat.SolutionCallback.solutionIntegerValue ( int index)

Definition at line 106 of file SolutionCallback.java.

◆ stopSearch()

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

Definition at line 114 of file SolutionCallback.java.

◆ swigDirectorDisconnect()

void com.google.ortools.sat.SolutionCallback.swigDirectorDisconnect ( )
protected

Definition at line 51 of file SolutionCallback.java.

◆ swigRelease()

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

Definition at line 24 of file SolutionCallback.java.

◆ swigReleaseOwnership()

void com.google.ortools.sat.SolutionCallback.swigReleaseOwnership ( )

Definition at line 56 of file SolutionCallback.java.

◆ swigTakeOwnership()

void com.google.ortools.sat.SolutionCallback.swigTakeOwnership ( )

Definition at line 61 of file SolutionCallback.java.

◆ userTime()

double com.google.ortools.sat.SolutionCallback.userTime ( )

Definition at line 94 of file SolutionCallback.java.

◆ wallTime()

double com.google.ortools.sat.SolutionCallback.wallTime ( )

Definition at line 90 of file SolutionCallback.java.

Member Data Documentation

◆ swigCMemOwn

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

Definition at line 13 of file SolutionCallback.java.


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