problem.loadpresolvedirs
problem.loadpresolvedirs |
Purpose
Loads directives into the presolved matrix.
Synopsis
problem.loadpresolvedirs (mcols, mpri, qbr, dupc, ddpc)
Arguments
mcols
|
Array containing the column numbers. A negative value indicates a set number (
-1 being the first set,
-2 the second, and so on).
|
||||||
mpri
|
Array containing the priorities for the columns or sets. May be
None if not required.
|
||||||
qbr
|
Character array specifying the branching direction for each column or set:
May be
None if not required.
|
||||||
dupc
|
Array containing the up pseudo costs for the columns or sets. May be
None if not required.
|
||||||
ddpc
|
Array containing the down pseudo costs for the columns or sets. May be
None if not required.
|
Example
The following loads priority directives for column
0 in the problem:
p.mipoptimize ("l") p.loadpresolvedirs ([0], [1], None, None, None) p.mipoptimize ("")
Related topics