Maxplus Function

fluide - network nonlinear flow ( water )

Calling Sequence

[v,q,niter]=fluide(H,d,r,a,err)

Parameters

Description

Compute the water flows in a distribution network by solving the following optimization problem:

Min_q 1/3 q'diag(|q|/r) q

Hq=d

Where the nonlinear operations appearing in the criterium must be understood componentwise.

The method used is the Hamam method which is a newton method in the space in the space (q,v) , where v denotes the dual variable associated to the constraints Hq=d .

a must be taken small. It regularizes the matrices giving the potentials.

EXAMPLES

See Also