Optimization: principles and algorithms, by Michel Bierlaire
Functions
transhipmentTransform.m File Reference

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...
 

Detailed Description

Transform a transhipment problem into a problem in standard form.

Section 22.1 of [1]

Note
Calls prepareNetwork
Called by transhipment
Author
Michel Bierlaire
Date
Sat Apr 11 11:48:27 2015

Definition in file transhipmentTransform.m.

Function Documentation

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.

Parameters
adjthe adjacency matrix of the network (dim m x m)
costthe cost vector (dim n)
lbthe vector of lower bounds (dim n)
ubthe vector of upper bounds (dim n)
supplythe vector of supply (dim m)
Returns
[tadj,tcost,tsupply] transformed adjacency matrix, transformed cost, transformed supply
Copyright 2015-2016 Michel Bierlaire