Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetbase
is used to access the network
basis for a network problem object. Either of the arguments
astat
or nstat
may be NULL.
For this function to succeed, a solution must exist for the problem object.
CPX_BASIC | If the arc is basic. |
CPX_AT_LOWER | If the arc is nonbasic and its flow is on the lower bound. |
CPX_AT_UPPER | If the arc is nonbasic and its flow is on the upper bound. |
CPX_FREE_SUPER | If the arc is nonbasic but is free.In this case its flow is 0. |
CPX_BASIC | If the arc is basic. |
CPX_AT_LOWER | If the arc is nonbasic and its flow is on the lower bound. |
Example
status = CPXNETgetbase (env, net, astat, nstat);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
astat | An array in which the statuses for network arcs are to be written. After termination, |
nstat | An array in which the statuses for artificial arcs from each node to the root node are to be written. After termination, |