Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXNETgetx
is used to access solution values
or, equivalently, flow values for a range of arcs stored in a network
problem object.
For this routine to succeed, a solution must exist for the network problem object.
Example
status = CPXNETgetx (env, net, x, 10, 20);
env | A pointer to the CPLEX environment as returned by |
net | A pointer to a CPLEX network problem object as returned by |
x | Array in which to write solution (or flow) values for requested arcs. If NULL is passed, no solution vector is returned. Otherwise, |
begin | Index of the first arc for which a solution (or flow) value is to be obtained. |
end | Index of the last arc for which a solution (or flow) value is to be obtained. |