PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
Benders Class Reference

Public Member Functions

def benderscreatesub (self, probnumber)
 
def bendersexit (self)
 
def bendersexitpre (self)
 
def bendersexitsol (self)
 
def bendersfree (self)
 
def bendersfreesub (self, probnumber)
 
def bendersgetvar (self, variable, probnumber)
 
def bendersinit (self)
 
def bendersinitpre (self)
 
def bendersinitsol (self)
 
def benderspostsolve (self, solution, enfotype, mergecandidates, npriomergecands, checkint, infeasible)
 
def benderspresubsolve (self, solution, enfotype, checkint)
 
def benderssolvesub (self, solution, probnumber)
 
def benderssolvesubconvex (self, solution, probnumber, onlyconvex)
 

Detailed Description

Definition at line 3 of file benders.pxi.

Member Function Documentation

◆ benderscreatesub()

def benderscreatesub (   self,
  probnumber 
)
creates the subproblems and registers it with the Benders decomposition struct 

Definition at line 36 of file benders.pxi.

◆ bendersexit()

def bendersexit (   self)
calls exit method of Benders decomposition

Definition at line 16 of file benders.pxi.

◆ bendersexitpre()

def bendersexitpre (   self)
informs the Benders decomposition that the presolving process has been completed

Definition at line 24 of file benders.pxi.

◆ bendersexitsol()

def bendersexitsol (   self)
informs Benders decomposition that the branch and bound process data is being freed

Definition at line 32 of file benders.pxi.

◆ bendersfree()

def bendersfree (   self)
calls destructor and frees memory of Benders decomposition 

Definition at line 8 of file benders.pxi.

◆ bendersfreesub()

def bendersfreesub (   self,
  probnumber 
)
frees the subproblems

Definition at line 57 of file benders.pxi.

◆ bendersgetvar()

def bendersgetvar (   self,
  variable,
  probnumber 
)
Returns the corresponding master or subproblem variable for the given variable. This provides a call back for the variable mapping between the master and subproblems. 

Definition at line 61 of file benders.pxi.

◆ bendersinit()

def bendersinit (   self)
initializes Benders deconposition

Definition at line 12 of file benders.pxi.

◆ bendersinitpre()

def bendersinitpre (   self)
informs the Benders decomposition that the presolving process is being started 

Definition at line 20 of file benders.pxi.

◆ bendersinitsol()

def bendersinitsol (   self)
informs Benders decomposition that the branch and bound process is being started 

Definition at line 28 of file benders.pxi.

◆ benderspostsolve()

def benderspostsolve (   self,
  solution,
  enfotype,
  mergecandidates,
  npriomergecands,
  checkint,
  infeasible 
)
sets post-solve callback of Benders decomposition 

Definition at line 53 of file benders.pxi.

◆ benderspresubsolve()

def benderspresubsolve (   self,
  solution,
  enfotype,
  checkint 
)
sets the pre subproblem solve callback of Benders decomposition 

Definition at line 41 of file benders.pxi.

◆ benderssolvesub()

def benderssolvesub (   self,
  solution,
  probnumber 
)
sets solve callback of Benders decomposition 

Definition at line 49 of file benders.pxi.

◆ benderssolvesubconvex()

def benderssolvesubconvex (   self,
  solution,
  probnumber,
  onlyconvex 
)
sets convex solve callback of Benders decomposition

Definition at line 45 of file benders.pxi.


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