help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] [Fwd: output format]


From: Andrew Makhorin
Subject: [Help-glpk] [Fwd: output format]
Date: Wed, 09 Nov 2011 18:08:06 +0300

-------- Forwarded Message --------
From: rachid ouchary <address@hidden>
To: address@hidden, address@hidden, address@hidden
Subject: output format
Date: Wed, 9 Nov 2011 13:58:03 +0100

my model is written so

\Problem Name : typage DLAL
Minimize
   obj:n1 + n2 + n3 + n4 + n5

Subject To
c1:p1 + n3 + n1 >= 0
c2:p2 - p4 = 0
c3:p3 - p4 - n5 = 0
c4:p1 - n4 = 0
c5:p4 + n5 >= 0
c6:p1 + n3 >= 0
c7:n4 + n1 >= 0
c8:n2 + n1 >= 0

Bounds
n1 >= 0
n3 = 0
n5 = 0
p2 >= 0
p3 >= 0
p1 >= 0
n2 = 0
n4 >= 0
p4 >= 0

integer
n1
n2
n3
n4
n5
p1
p2
p3
p4

end


When we solved the command 

Problem:    
Rows:       8
Columns:    9 (9 integer, 0 binary)
Non-zeros:  18
Status:     INTEGER OPTIMAL
Objective:  obj = 0 (MINimum)

   No.   Row name        Activity     Lower bound   Upper bound
------ ------------    ------------- ------------- -------------
     1 c1                          0             0               
     2 c2                          0             0             = 
     3 c3                          0             0             = 
     4 c4                          0             0             = 
     5 c5                          0             0               
     6 c6                          0             0               
     7 c7                          0             0               
     8 c8                          0             0               

   No. Column name       Activity     Lower bound   Upper bound
------ ------------    ------------- ------------- -------------
     1 n1           *              0             0               
     2 n2           *              0             0             = 
     3 n3           *              0             0             = 
     4 n4           *              0             0               
     5 n5           *              0             0             = 
     6 p1           *              0             0               
     7 p2           *              0             0               
     8 p4           *              0             0               
     9 p3           *              0             0               

Integer feasibility conditions:

KKT.PE: max.abs.err = 0.00e+00 on row 0
        max.rel.err = 0.00e+00 on row 0
        High quality

KKT.PB: max.abs.err = 0.00e+00 on row 0
        max.rel.err = 0.00e+00 on row 0
        High quality

End of output


I want to have an output of this type

variable = value

is it possible?

thanks





reply via email to

[Prev in Thread] Current Thread [Next in Thread]