PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
reader.pxi File Reference

Base class of the Reader Plugin. More...

Go to the source code of this file.

Classes

class  Reader
 

Namespaces

 pyscipopt.reader
 

Functions

def readerfree (self)
 
def readerread (self, filename)
 
def readerwrite (self, file, name, transformed, objsense, objscale, objoffset, binvars, intvars, implvars, contvars, fixedvars, startnvars, conss, maxnconss, startnconss, genericnames)
 

Variables

 fd
 
list PyBinVars = [Variable.create(vars[i]) for i in range(nbinvars)]
 
list PyConss = [Constraint.create(conss[i]) for i in range(nconss)]
 
list PyContVars = [Variable.create(vars[i]) for i in range(nimplvars, ncontvars)]
 
 PyFile = os.fdopen(fd, "w", closefd=False)
 
 PyFilename = filename.decode('utf-8')
 
list PyFixedVars = [Variable.create(fixedvars[i]) for i in range(nfixedvars)]
 
list PyImplVars = [Variable.create(vars[i]) for i in range(nintvars, nimplvars)]
 
list PyIntVars = [Variable.create(vars[i]) for i in range(nbinvars, nintvars)]
 
 PyName = name.decode('utf-8')
 
 PyReader = <Reader>readerdata
 
 readerdata = SCIPreaderGetData(reader)
 
def result_dict = PyReader.readerread(PyFilename)
 

Detailed Description

Base class of the Reader Plugin.

Definition in file reader.pxi.