Classes | |
class | 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) |
def pyscipopt.reader.readerfree | ( | self | ) |
calls destructor and frees memory of reader
Definition at line 7 of file reader.pxi.
def pyscipopt.reader.readerread | ( | self, | |
filename | |||
) |
calls read method of reader
Definition at line 11 of file reader.pxi.
def pyscipopt.reader.readerwrite | ( | self, | |
file, | |||
name, | |||
transformed, | |||
objsense, | |||
objscale, | |||
objoffset, | |||
binvars, | |||
intvars, | |||
implvars, | |||
contvars, | |||
fixedvars, | |||
startnvars, | |||
conss, | |||
maxnconss, | |||
startnconss, | |||
genericnames | |||
) |
calls write method of reader
Definition at line 15 of file reader.pxi.
fd |
Definition at line 50 of file reader.pxi.
list PyBinVars = [Variable.create(vars[i]) for i in range(nbinvars)] |
Definition at line 53 of file reader.pxi.
list PyConss = [Constraint.create(conss[i]) for i in range(nconss)] |
Definition at line 58 of file reader.pxi.
list PyContVars = [Variable.create(vars[i]) for i in range(nimplvars, ncontvars)] |
Definition at line 56 of file reader.pxi.
PyFile = os.fdopen(fd, "w", closefd=False) |
Definition at line 51 of file reader.pxi.
PyFilename = filename.decode('utf-8') |
Definition at line 36 of file reader.pxi.
list PyFixedVars = [Variable.create(fixedvars[i]) for i in range(nfixedvars)] |
Definition at line 57 of file reader.pxi.
list PyImplVars = [Variable.create(vars[i]) for i in range(nintvars, nimplvars)] |
Definition at line 55 of file reader.pxi.
list PyIntVars = [Variable.create(vars[i]) for i in range(nbinvars, nintvars)] |
Definition at line 54 of file reader.pxi.
PyName = name.decode('utf-8') |
Definition at line 52 of file reader.pxi.
PyReader = <Reader>readerdata |
Definition at line 27 of file reader.pxi.
readerdata = SCIPreaderGetData(reader) |
Definition at line 26 of file reader.pxi.
def result_dict = PyReader.readerread(PyFilename) |
Definition at line 37 of file reader.pxi.