Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ModelBuilder.ModelSolverHelper Class Reference
Inheritance diagram for Google.OrTools.ModelBuilder.ModelSolverHelper:

Public Member Functions

void Dispose ()
 
 ModelSolverHelper (string solver_name)
 
bool SolverIsSupported ()
 
void Solve (ModelBuilderHelper model)
 
bool InterruptSolve ()
 
void SetLogCallbackFromDirectorClass (MbLogCallback log_callback)
 
void ClearLogCallback ()
 
bool HasResponse ()
 
bool HasSolution ()
 
SolveStatus Status ()
 
double ObjectiveValue ()
 
double BestObjectiveBound ()
 
double VariableValue (int var_index)
 
double ReducedCost (int var_index)
 
double DualValue (int ct_index)
 
double Activity (int ct_index)
 
string StatusString ()
 
double WallTime ()
 
double UserTime ()
 
void SetTimeLimitInSeconds (double limit)
 
void SetSolverSpecificParameters (string solver_specific_parameters)
 
void EnableOutput (bool enabled)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Detailed Description

Definition at line 15 of file ModelSolverHelper.cs.

Constructor & Destructor Documentation

◆ ModelSolverHelper()

Google.OrTools.ModelBuilder.ModelSolverHelper.ModelSolverHelper ( string solver_name)
inline

Definition at line 62 of file ModelSolverHelper.cs.

Member Function Documentation

◆ Activity()

double Google.OrTools.ModelBuilder.ModelSolverHelper.Activity ( int ct_index)
inline

Definition at line 129 of file ModelSolverHelper.cs.

◆ BestObjectiveBound()

double Google.OrTools.ModelBuilder.ModelSolverHelper.BestObjectiveBound ( )
inline

Definition at line 109 of file ModelSolverHelper.cs.

◆ ClearLogCallback()

void Google.OrTools.ModelBuilder.ModelSolverHelper.ClearLogCallback ( )
inline

Definition at line 85 of file ModelSolverHelper.cs.

◆ Dispose() [1/2]

void Google.OrTools.ModelBuilder.ModelSolverHelper.Dispose ( )
inline

Definition at line 45 of file ModelSolverHelper.cs.

◆ Dispose() [2/2]

virtual void Google.OrTools.ModelBuilder.ModelSolverHelper.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 50 of file ModelSolverHelper.cs.

◆ DualValue()

double Google.OrTools.ModelBuilder.ModelSolverHelper.DualValue ( int ct_index)
inline

Definition at line 124 of file ModelSolverHelper.cs.

◆ EnableOutput()

void Google.OrTools.ModelBuilder.ModelSolverHelper.EnableOutput ( bool enabled)
inline

Definition at line 158 of file ModelSolverHelper.cs.

◆ HasResponse()

bool Google.OrTools.ModelBuilder.ModelSolverHelper.HasResponse ( )
inline

Definition at line 89 of file ModelSolverHelper.cs.

◆ HasSolution()

bool Google.OrTools.ModelBuilder.ModelSolverHelper.HasSolution ( )
inline

Definition at line 94 of file ModelSolverHelper.cs.

◆ InterruptSolve()

bool Google.OrTools.ModelBuilder.ModelSolverHelper.InterruptSolve ( )
inline

Definition at line 76 of file ModelSolverHelper.cs.

◆ ObjectiveValue()

double Google.OrTools.ModelBuilder.ModelSolverHelper.ObjectiveValue ( )
inline

Definition at line 104 of file ModelSolverHelper.cs.

◆ ReducedCost()

double Google.OrTools.ModelBuilder.ModelSolverHelper.ReducedCost ( int var_index)
inline

Definition at line 119 of file ModelSolverHelper.cs.

◆ SetLogCallbackFromDirectorClass()

void Google.OrTools.ModelBuilder.ModelSolverHelper.SetLogCallbackFromDirectorClass ( MbLogCallback log_callback)
inline

Definition at line 81 of file ModelSolverHelper.cs.

◆ SetSolverSpecificParameters()

void Google.OrTools.ModelBuilder.ModelSolverHelper.SetSolverSpecificParameters ( string solver_specific_parameters)
inline

Definition at line 153 of file ModelSolverHelper.cs.

◆ SetTimeLimitInSeconds()

void Google.OrTools.ModelBuilder.ModelSolverHelper.SetTimeLimitInSeconds ( double limit)
inline

Definition at line 149 of file ModelSolverHelper.cs.

◆ Solve()

void Google.OrTools.ModelBuilder.ModelSolverHelper.Solve ( ModelBuilderHelper model)
inline

Definition at line 71 of file ModelSolverHelper.cs.

◆ SolverIsSupported()

bool Google.OrTools.ModelBuilder.ModelSolverHelper.SolverIsSupported ( )
inline

Definition at line 66 of file ModelSolverHelper.cs.

◆ Status()

SolveStatus Google.OrTools.ModelBuilder.ModelSolverHelper.Status ( )
inline

Definition at line 99 of file ModelSolverHelper.cs.

◆ StatusString()

string Google.OrTools.ModelBuilder.ModelSolverHelper.StatusString ( )
inline

Definition at line 134 of file ModelSolverHelper.cs.

◆ UserTime()

double Google.OrTools.ModelBuilder.ModelSolverHelper.UserTime ( )
inline

Definition at line 144 of file ModelSolverHelper.cs.

◆ VariableValue()

double Google.OrTools.ModelBuilder.ModelSolverHelper.VariableValue ( int var_index)
inline

Definition at line 114 of file ModelSolverHelper.cs.

◆ WallTime()

double Google.OrTools.ModelBuilder.ModelSolverHelper.WallTime ( )
inline

Definition at line 139 of file ModelSolverHelper.cs.

Member Data Documentation

◆ swigCMemOwn

bool Google.OrTools.ModelBuilder.ModelSolverHelper.swigCMemOwn
protected

Definition at line 17 of file ModelSolverHelper.cs.


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