Traffic-toolbox Function
biGraphic - Upper level function graphic
Calling Sequence
- [prix,opfV,gan,p1,p2]=biGraphic(prlk,lp,up,n)
Parameters
- prlk
: row vector of the priced links
- lp
: row vector of the lower bound for prices
- up
: row vector ot the uper bound for prices
- n
: grid's size
- prix
: optimal link prices
- pfV
: optimum value of the profit function
- gan
: nxn matrix of the profit function values
- p1, p2
: row vectors of prices
Description
Plots the two dimensional profit function, f(x(p),p)=x'p, in the rectangle
given by the lower and the uper bounds of prices. Computes the optimal price
over the points of the grid.
EXAMPLES
%net=TrafficExample("Steenbrink");
// uses the example net Steenbrink
ShowNet()
[prix,pfV,gan,p1,p2]=biGraphic([10,21],0,10,10);
See Also