Thanks Domingo. I was going to say that MAX should be on its own line
All the best
Julian
--
Dr. J. A. Julian Hall, Reader, School of Mathematics,
University of Edinburgh, James Clerk Maxwell Building,
Peter Guthrie Tait Road, EDINBURGH, EH9 3FD, UK.
Room: 5418 Phone: [+44](131) 650 5075 Email: J.A.J.Hall@ed.ac.uk
My working hours may not be your working hours. Do not feel pressure to reply to this email outside your working hours.
From: Domingo Alvarez Duarte
Sent: Sat May 14 16:38:12 GMT+01:00 2022
To: "bug-glpk@gnu.org"
Subject: Re: MPS files for maximization lack OBJSENSE
This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe.
Hello Julian !
I did a mistake on implementing the OBJSENSE for freemps format and fixed it now the binaries are available here https://github.com/mingodad/GLPK/actions/runs/2324392030 and here is the generated freemps:
====
* Problem: simple_max * Class: LP * Rows: 3 * Columns: 2 * Non-zeros: 6 * Format: Free MPS * NAME simple_max OBJSENSE MAX ROWS L Constraint1 L Constraint2 N Objective COLUMNS x Constraint1 1 Constraint2 3 x Objective 1 y Constraint1 2 Constraint2 1 y Objective 1 RHS RHS1 Constraint1 15 Constraint2 20 ENDATA
====
Cheers !
On 14/5/22 16:13, Domingo Alvarez Duarte wrote:
Hello Julian !
Meanwhile I implemented read/write OBJSENSE for freemps format on my fork of GLPK with several extensions and here https://github.com/mingodad/GLPK/actions/runs/2324178367 you can find the binaries built with github actions to try.
With your proposed example the solution is the same on both, and here is the generated freemps:
====
* Problem: simple_max * Class: LP * Rows: 3 * Columns: 2 * Non-zeros: 6 * Format: Free MPS * NAME simple_max OBJSENSE MAX ROWS L Constraint1 L Constraint2 N Objective COLUMNS x Constraint1 1 Constraint2 3 x Objective 1 y Constraint1 2 Constraint2 1 y Objective 1 RHS RHS1 Constraint1 15 Constraint2 20 ENDATA
====
Cheers !
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.
|