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

Public Member Functions

def __get__ (self)
 
def __repr__ (self)
 
def getAvgSol (self)
 
def getCol (self)
 
def getIndex (self)
 
def getLbGlobal (self)
 
def getLbLocal (self)
 
def getLbOriginal (self)
 
def getLPSol (self)
 
def getObj (self)
 
def getUbGlobal (self)
 
def getUbLocal (self)
 
def getUbOriginal (self)
 
def isInLP (self)
 
def isOriginal (self)
 
def ptr (self)
 
def vtype (self)
 

Static Public Attributes

 scip_var
 
 var = Variable()
 

Detailed Description

Is a linear expression and has SCIP_VAR*

Definition at line 816 of file scip.pxi.

Member Function Documentation

◆ __get__()

def __get__ (   self)

Definition at line 829 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetName().

◆ __repr__()

◆ getAvgSol()

def getAvgSol (   self)
Get the weighted average solution of variable in all feasible primal solutions found

Definition at line 903 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetAvgSol().

◆ getCol()

def getCol (   self)
Retrieve column of COLUMN variable

Definition at line 865 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetCol().

◆ getIndex()

def getIndex (   self)
Retrieve the unique index of the variable.

Definition at line 861 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetIndex().

◆ getLbGlobal()

def getLbGlobal (   self)
Retrieve global lower bound of variable

Definition at line 879 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetLbGlobal().

◆ getLbLocal()

def getLbLocal (   self)
Retrieve current lower bound of variable

Definition at line 887 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetLbLocal().

◆ getLbOriginal()

def getLbOriginal (   self)
Retrieve original lower bound of variable

Definition at line 871 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetLbOriginal().

◆ getLPSol()

def getLPSol (   self)
Retrieve the current LP solution value of variable

Definition at line 899 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetLPSol().

◆ getObj()

def getObj (   self)
Retrieve current objective value of variable

Definition at line 895 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetObj().

◆ getUbGlobal()

def getUbGlobal (   self)
Retrieve global upper bound of variable

Definition at line 883 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetUbGlobal().

◆ getUbLocal()

def getUbLocal (   self)
Retrieve current upper bound of variable

Definition at line 891 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetUbLocal().

◆ getUbOriginal()

def getUbOriginal (   self)
Retrieve original upper bound of variable

Definition at line 875 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetUbOriginal().

◆ isInLP()

def isInLP (   self)
Retrieve whether the variable is a COLUMN variable that is member of the current LP

Definition at line 856 of file scip.pxi.

References Variable.scip_var, and SCIPvarIsInLP().

◆ isOriginal()

def isOriginal (   self)
Retrieve whether the variable belongs to the original problem

Definition at line 852 of file scip.pxi.

References Variable.scip_var, and SCIPvarIsOriginal().

◆ ptr()

def ptr (   self)
 

Definition at line 833 of file scip.pxi.

References Variable.scip_var.

◆ vtype()

def vtype (   self)
Retrieve the variables type (BINARY, INTEGER, IMPLINT or CONTINUOUS)

Definition at line 840 of file scip.pxi.

References Variable.scip_var, and SCIPvarGetType().

Member Data Documentation

◆ scip_var

scip_var
static

Definition at line 824 of file scip.pxi.

◆ var

var = Variable()
static

Definition at line 823 of file scip.pxi.


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