Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.OptimizeVar Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.OptimizeVar:
Google.OrTools.ConstraintSolver.ObjectiveMonitor Google.OrTools.ConstraintSolver.SearchMonitor Google.OrTools.ConstraintSolver.BaseObject

Public Member Functions

 OptimizeVar (Solver solver, bool maximize, IntVar var, long step)
 
 OptimizeVar (Solver solver, SWIGTYPE_p_std__vectorT_bool_t maximize, IntVarVector vars, long[] steps)
 
long Best ()
 
IntVar Var ()
 
override void BeginNextDecision (DecisionBuilder db)
 
override void RefuteDecision (Decision d)
 
override bool AtSolution ()
 
override bool AcceptSolution ()
 
virtual string Name ()
 
override string ToString ()
 
void ApplyBound ()
 
delegate string SwigDelegateOptimizeVar_0 ()
 
delegate void SwigDelegateOptimizeVar_1 ()
 
delegate void SwigDelegateOptimizeVar_2 ()
 
delegate void SwigDelegateOptimizeVar_3 ()
 
delegate void SwigDelegateOptimizeVar_4 (global::System.IntPtr db)
 
delegate void SwigDelegateOptimizeVar_5 (global::System.IntPtr b, global::System.IntPtr d)
 
delegate void SwigDelegateOptimizeVar_6 (global::System.IntPtr d)
 
delegate void SwigDelegateOptimizeVar_7 (global::System.IntPtr d)
 
delegate void SwigDelegateOptimizeVar_8 (global::System.IntPtr d, bool apply)
 
delegate void SwigDelegateOptimizeVar_9 ()
 
delegate void SwigDelegateOptimizeVar_10 ()
 
delegate void SwigDelegateOptimizeVar_11 ()
 
delegate void SwigDelegateOptimizeVar_12 ()
 
delegate bool SwigDelegateOptimizeVar_13 ()
 
delegate bool SwigDelegateOptimizeVar_14 ()
 
delegate void SwigDelegateOptimizeVar_15 ()
 
delegate bool SwigDelegateOptimizeVar_16 ()
 
delegate bool SwigDelegateOptimizeVar_17 (global::System.IntPtr delta, global::System.IntPtr deltadelta)
 
delegate void SwigDelegateOptimizeVar_18 ()
 
delegate void SwigDelegateOptimizeVar_19 ()
 
delegate bool SwigDelegateOptimizeVar_20 ()
 
delegate void SwigDelegateOptimizeVar_21 ()
 
delegate int SwigDelegateOptimizeVar_22 ()
 
delegate void SwigDelegateOptimizeVar_23 (global::System.IntPtr visitor)
 
delegate void SwigDelegateOptimizeVar_24 ()
 
delegate string SwigDelegateOptimizeVar_25 ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.ObjectiveMonitor
 ObjectiveMonitor (Solver solver, SWIGTYPE_p_std__vectorT_bool_t maximize, IntVarVector vars, long[] steps)
 
IntVar ObjectiveVar (int index)
 
IntVar MinimizationVar (int index)
 
long Step (int index)
 
bool Maximize (int index)
 
long BestValue (int index)
 
int Size ()
 
override void EnterSearch ()
 
override bool AcceptDelta (Assignment delta, Assignment deltadelta)
 
override void Accept (ModelVisitor visitor)
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
 SearchMonitor (Solver s)
 
virtual void RestartSearch ()
 
virtual void ExitSearch ()
 
virtual void EndNextDecision (DecisionBuilder b, Decision d)
 
virtual void ApplyDecision (Decision d)
 
virtual void AfterDecision (Decision d, bool apply)
 
virtual void BeginFail ()
 
virtual void EndFail ()
 
virtual void BeginInitialPropagation ()
 
virtual void EndInitialPropagation ()
 
virtual void NoMoreSolutions ()
 
virtual bool LocalOptimum ()
 
virtual void AcceptNeighbor ()
 
virtual void AcceptUncheckedNeighbor ()
 
virtual bool IsUncheckedSolutionLimitReached ()
 
virtual void PeriodicCheck ()
 
virtual int ProgressPercent ()
 
virtual void Install ()
 
Solver solver ()
 
delegate string SwigDelegateSearchMonitor_0 ()
 
delegate void SwigDelegateSearchMonitor_1 ()
 
delegate void SwigDelegateSearchMonitor_2 ()
 
delegate void SwigDelegateSearchMonitor_3 ()
 
delegate void SwigDelegateSearchMonitor_4 (global::System.IntPtr b)
 
delegate void SwigDelegateSearchMonitor_5 (global::System.IntPtr b, global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_6 (global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_7 (global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_8 (global::System.IntPtr d, bool apply)
 
delegate void SwigDelegateSearchMonitor_9 ()
 
delegate void SwigDelegateSearchMonitor_10 ()
 
delegate void SwigDelegateSearchMonitor_11 ()
 
delegate void SwigDelegateSearchMonitor_12 ()
 
delegate bool SwigDelegateSearchMonitor_13 ()
 
delegate bool SwigDelegateSearchMonitor_14 ()
 
delegate void SwigDelegateSearchMonitor_15 ()
 
delegate bool SwigDelegateSearchMonitor_16 ()
 
delegate bool SwigDelegateSearchMonitor_17 (global::System.IntPtr delta, global::System.IntPtr deltadelta)
 
delegate void SwigDelegateSearchMonitor_18 ()
 
delegate void SwigDelegateSearchMonitor_19 ()
 
delegate bool SwigDelegateSearchMonitor_20 ()
 
delegate void SwigDelegateSearchMonitor_21 ()
 
delegate int SwigDelegateSearchMonitor_22 ()
 
delegate void SwigDelegateSearchMonitor_23 (global::System.IntPtr visitor)
 
delegate void SwigDelegateSearchMonitor_24 ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
void Dispose ()
 
 BaseObject ()
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.ObjectiveMonitor
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Additional Inherited Members

- Static Public Attributes inherited from Google.OrTools.ConstraintSolver.SearchMonitor
static readonly int kNoProgress = operations_research_constraint_solverPINVOKE.SearchMonitor_kNoProgress_get()
 
- Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject
bool swigCMemOwn
 
- Package Functions inherited from Google.OrTools.ConstraintSolver.ObjectiveMonitor
- Package Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
- Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.ObjectiveMonitor
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Detailed Description

Definition at line 20 of file OptimizeVar.cs.

Constructor & Destructor Documentation

◆ OptimizeVar() [1/2]

Google.OrTools.ConstraintSolver.OptimizeVar.OptimizeVar ( Solver solver,
bool maximize,
IntVar var,
long step )
inline

Definition at line 57 of file OptimizeVar.cs.

◆ OptimizeVar() [2/2]

Google.OrTools.ConstraintSolver.OptimizeVar.OptimizeVar ( Solver solver,
SWIGTYPE_p_std__vectorT_bool_t maximize,
IntVarVector vars,
long[] steps )
inline

Definition at line 61 of file OptimizeVar.cs.

Member Function Documentation

◆ AcceptSolution()

override bool Google.OrTools.ConstraintSolver.OptimizeVar.AcceptSolution ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 90 of file OptimizeVar.cs.

◆ ApplyBound()

void Google.OrTools.ConstraintSolver.OptimizeVar.ApplyBound ( )
inline

Definition at line 105 of file OptimizeVar.cs.

◆ AtSolution()

override bool Google.OrTools.ConstraintSolver.OptimizeVar.AtSolution ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.ObjectiveMonitor.

Definition at line 85 of file OptimizeVar.cs.

◆ BeginNextDecision()

override void Google.OrTools.ConstraintSolver.OptimizeVar.BeginNextDecision ( DecisionBuilder db)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 77 of file OptimizeVar.cs.

◆ Best()

long Google.OrTools.ConstraintSolver.OptimizeVar.Best ( )
inline

Definition at line 66 of file OptimizeVar.cs.

◆ Dispose()

override void Google.OrTools.ConstraintSolver.OptimizeVar.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from Google.OrTools.ConstraintSolver.ObjectiveMonitor.

Definition at line 44 of file OptimizeVar.cs.

◆ Name()

virtual string Google.OrTools.ConstraintSolver.OptimizeVar.Name ( )
inlinevirtual

Definition at line 95 of file OptimizeVar.cs.

◆ RefuteDecision()

override void Google.OrTools.ConstraintSolver.OptimizeVar.RefuteDecision ( Decision d)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 81 of file OptimizeVar.cs.

◆ SwigDelegateOptimizeVar_0()

delegate string Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_0 ( )

◆ SwigDelegateOptimizeVar_1()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_1 ( )

◆ SwigDelegateOptimizeVar_10()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_10 ( )

◆ SwigDelegateOptimizeVar_11()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_11 ( )

◆ SwigDelegateOptimizeVar_12()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_12 ( )

◆ SwigDelegateOptimizeVar_13()

delegate bool Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_13 ( )

◆ SwigDelegateOptimizeVar_14()

delegate bool Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_14 ( )

◆ SwigDelegateOptimizeVar_15()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_15 ( )

◆ SwigDelegateOptimizeVar_16()

delegate bool Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_16 ( )

◆ SwigDelegateOptimizeVar_17()

delegate bool Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_17 ( global.System.IntPtr delta,
global.System.IntPtr deltadelta )

◆ SwigDelegateOptimizeVar_18()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_18 ( )

◆ SwigDelegateOptimizeVar_19()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_19 ( )

◆ SwigDelegateOptimizeVar_2()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_2 ( )

◆ SwigDelegateOptimizeVar_20()

delegate bool Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_20 ( )

◆ SwigDelegateOptimizeVar_21()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_21 ( )

◆ SwigDelegateOptimizeVar_22()

delegate int Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_22 ( )

◆ SwigDelegateOptimizeVar_23()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_23 ( global.System.IntPtr visitor)

◆ SwigDelegateOptimizeVar_24()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_24 ( )

◆ SwigDelegateOptimizeVar_25()

delegate string Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_25 ( )

◆ SwigDelegateOptimizeVar_3()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_3 ( )

◆ SwigDelegateOptimizeVar_4()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_4 ( global.System.IntPtr db)

◆ SwigDelegateOptimizeVar_5()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_5 ( global.System.IntPtr b,
global.System.IntPtr d )

◆ SwigDelegateOptimizeVar_6()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_6 ( global.System.IntPtr d)

◆ SwigDelegateOptimizeVar_7()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_7 ( global.System.IntPtr d)

◆ SwigDelegateOptimizeVar_8()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_8 ( global.System.IntPtr d,
bool apply )

◆ SwigDelegateOptimizeVar_9()

delegate void Google.OrTools.ConstraintSolver.OptimizeVar.SwigDelegateOptimizeVar_9 ( )

◆ ToString()

override string Google.OrTools.ConstraintSolver.OptimizeVar.ToString ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.BaseObject.

Definition at line 100 of file OptimizeVar.cs.

◆ Var()

IntVar Google.OrTools.ConstraintSolver.OptimizeVar.Var ( )
inline

Definition at line 71 of file OptimizeVar.cs.


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