Optimization: principles and algorithms, by Michel Bierlaire
|
Transform a transhipment problem into a problem in standard form. More...
Go to the source code of this file.
Functions | |
function | transhipmentTransform (in adj, in cost, in lb, in ub, in supply) |
Transform a transhipment problem with m nodes and n arcs into a problem in standard form. More... | |
Transform a transhipment problem into a problem in standard form.
Section 22.1 of [1]
Definition in file transhipmentTransform.m.
function transhipmentTransform | ( | in | adj, |
in | cost, | ||
in | lb, | ||
in | ub, | ||
in | supply | ||
) |
Transform a transhipment problem with m nodes and n arcs into a problem in standard form.
adj | the adjacency matrix of the network (dim m x m) |
cost | the cost vector (dim n) |
lb | the vector of lower bounds (dim n) |
ub | the vector of upper bounds (dim n) |
supply | the vector of supply (dim m) |