Re: LP problem conversion
- From: spellucci@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Peter Spellucci)
- Date: Fri, 14 Jul 2006 14:10:22 +0000 (UTC)
In article <1152812789.510709.110330@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"pepitosbarzeguti@xxxxxxxxxxxx" <pepitosbarzeguti@xxxxxxxxxxxx> writes:
A need help for this LP problem (coming from kinematic theorem
structural analysis)
Ho to convert the problem:
T
minimize(-Fc u)
subject to:
T
Fv u = 1
-A u + N z = 0
z >= 0
Fc,Fv,u,z are vector's A and N are matrix.
to the standard LP format?
minimize( F=c0+c1 xm+1 .....+cn xm+n )
x1=a11 x[m+1] + ..............+ a1n x[m+n]
......
xm=am1 x[m+1] + ..............+ amn x[m+n]
and bound variable's:
l1 <= x1 <= u1
....
l(m+n) <= x[m+n] <= u(m+n)
Thank's in advance and sorry for the poor english
there is no need to transform the problem into this form and indeed your
explicit elimination occurs implicitly only in the simplex algorithm
LP software also does not require to have all variables bounded from below
or above.
you simply have
minimize c^T u + o*^T z = (c^T,o^T)*(u;z)
subject to
[ Fv^T o^T ] [ u ] = [1]
[ -A N ] [ z ] [0]
z>=0
unknowns x=[u;z]
only part of the unknowns restricted to be positive
matrix composed from a row Fv^T o^T and the matrix block row -A N
and z not appearing in the objective. this is already a rather standard LP
and could be solved by any reasonable LP solver
hth
peter
.
- References:
- LP problem conversion
- From: pepitosbarzeguti@xxxxxxxxxxxx
- LP problem conversion
- Prev by Date: Re: Numerical diagonalization by not using zgeev?
- Next by Date: Re: How to solve linear program with matrix variable ?
- Previous by thread: LP problem conversion
- Next by thread: random walk on graph
- Index(es):