Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
ortools.constraint_solver.pywrapcp.OptimizeVar Class Reference
Inheritance diagram for ortools.constraint_solver.pywrapcp.OptimizeVar:

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 Best (self)
 
 BeginNextDecision (self, db)
 
 RefuteDecision (self, d)
 
 AtSolution (self)
 
 AcceptSolution (self)
 
 DebugString (self)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Detailed Description

This class encapsulates an objective. It requires the direction
(minimize or maximize), the variable to optimize, and the
improvement step.

Definition at line 2781 of file pywrapcp.py.

Constructor & Destructor Documentation

◆ __init__()

ortools.constraint_solver.pywrapcp.OptimizeVar.__init__ ( self,
* args,
** kwargs )

Definition at line 2790 of file pywrapcp.py.

Member Function Documentation

◆ AcceptSolution()

ortools.constraint_solver.pywrapcp.OptimizeVar.AcceptSolution ( self)

Definition at line 2808 of file pywrapcp.py.

◆ AtSolution()

ortools.constraint_solver.pywrapcp.OptimizeVar.AtSolution ( self)

Definition at line 2805 of file pywrapcp.py.

◆ BeginNextDecision()

ortools.constraint_solver.pywrapcp.OptimizeVar.BeginNextDecision ( self,
db )
 Internal methods.

Definition at line 2798 of file pywrapcp.py.

◆ Best()

ortools.constraint_solver.pywrapcp.OptimizeVar.Best ( self)
 Returns the best value found during search.

Definition at line 2794 of file pywrapcp.py.

◆ DebugString()

ortools.constraint_solver.pywrapcp.OptimizeVar.DebugString ( self)

Definition at line 2811 of file pywrapcp.py.

◆ RefuteDecision()

ortools.constraint_solver.pywrapcp.OptimizeVar.RefuteDecision ( self,
d )

Definition at line 2802 of file pywrapcp.py.

Property Documentation

◆ thisown

ortools.constraint_solver.pywrapcp.OptimizeVar.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

Definition at line 2788 of file pywrapcp.py.


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