DSIMA
|
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | solve |
def | isFeasible |
def | isOptimal |
def | objectiveValue |
def | variableValue |
Public Attributes | |
lp | |
Binary equal to True if the solver writes the LP problem file. More... | |
timeLimit | |
Time limit in seconds. More... | |
maxTrials | |
Maximum calling trials of the solver. More... | |
debugInfo | |
Private Member Functions | |
def | _parseSolution |
Parse the solution file. More... | |
Private Attributes | |
_sol | |
Solution dictionary. More... | |
_scip | |
Path to the SCIP binary. More... | |
def __init__ | ( | self, | |
scipBin = '../scip' , |
|||
lp = False , |
|||
timeLimit = 5*60 , |
|||
maxTrials = 2 |
|||
) |
Constructor.
scipBin | Path to the SCIP binary. |
lp | Binary equal to True if the solver writes the LP problem file. |
timeLimit | Time limit in seconds |
maxTrials | Maximum calling trials of the solver. |
|
private |
Parse the solution file.
filePath | Path to the solution file. |
def isFeasible | ( | self | ) |
def isOptimal | ( | self | ) |
def objectiveValue | ( | self | ) |
def solve | ( | self, | |
model, | |||
solution, | |||
cwd = "" |
|||
) |
def variableValue | ( | self, | |
variableName = 'x' |
|||
) |
|
private |
Path to the SCIP binary.
|
private |
Solution dictionary.
debugInfo |
lp |
Binary equal to True if the solver writes the LP problem file.
maxTrials |
Maximum calling trials of the solver.
timeLimit |
Time limit in seconds.