![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
A specialized solution printer. More...
Public Member Functions | |
ObjectiveSolutionPrinter () | |
override void | OnSolutionCallback () |
int | solutionCount () |
![]() | |
long | Value (LinearExpr e) |
Returns the value of a linear expression in the current solution. | |
long | Value (IntVar intVar) |
Returns the value of an integer variable in the current solution. | |
Boolean | BooleanValue (ILiteral literal) |
Returns the Boolean value of a literal in the current solution. | |
![]() | |
void | Dispose () |
long | NumBooleans () |
long | NumBranches () |
long | NumConflicts () |
long | NumBinaryPropagations () |
long | NumIntegerPropagations () |
double | WallTime () |
double | UserTime () |
double | ObjectiveValue () |
double | BestObjectiveBound () |
long | SolutionIntegerValue (int index) |
bool | SolutionBooleanValue (int index) |
void | StopSearch () |
SWIGTYPE_p_operations_research__sat__CpSolverResponse | Response () |
SolutionCallback () | |
delegate void | SwigDelegateSolutionCallback_0 () |
Additional Inherited Members | |
![]() | |
virtual void | Dispose (bool disposing) |
![]() | |
bool | swigCMemOwn |
A specialized solution printer.
Definition at line 125 of file SearchHelpers.cs.
|
inline |
Definition at line 130 of file SearchHelpers.cs.
|
inlinevirtual |
Reimplemented from Google.OrTools.Sat.SolutionCallback.
Definition at line 135 of file SearchHelpers.cs.
int Google.OrTools.Sat.ObjectiveSolutionPrinter.solutionCount | ( | ) |