Re: [Fwd: Constraint not respected]

2021-06-23 Thread Michael Hennebry

From: Gioia Lorusso 

Hi GLPK team,I am using GLPK and I am struggling in understanding why
an upper bound constraint is not respected. 
I have submitted a question on Stack Overflow but I was not able to
find an answer. This is my question https://stackoverflow.com/question
s/67982099/glpk-upper-bound-constraint-does-not-work-properly , I
reported there my problem details and the GLPK output. Could you check
it and possibly help me in understanding why the constraint c1 is not
respected? Is there any kind of "relaxation" that I can avoid/forbid?
Thanks a lot in advance for your help, 


As a guess, your exposition is wrong.
To make such errors less likely,
try replacing expression <= 7200 with
Q = expression
Q <= 7200

In case you are not handing GLPK the problem you think you are,
have GLPK print out the problem.

--
Michael   henne...@web.cs.ndsu.nodak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
 --  someeecards

Re: [Fwd: Constraint not respected]

2021-06-22 Thread Domingo Alvarez Duarte

Without a full model and data don't expect much help !

On 22/6/21 11:20, Andrew Makhorin wrote:

 Forwarded Message 

*Date*: Tue, 22 Jun 2021 09:25:01 +0200
*Subject*: Constraint not respected
*To*: help-glpk@gnu.org 
*From*: Gioia Lorusso >

Hi GLPK team,
I am using GLPK and I am struggling in understanding why an upper 
bound constraint is not respected.
I have submitted a question on Stack Overflow but I was not able to 
find an answer. This is my question 
https://stackoverflow.com/questions/67982099/glpk-upper-bound-constraint-does-not-work-properly 
 
, I reported there my problem details and the GLPK output. Could you 
check it and possibly help me in understanding why the constraint c1 
is not respected? Is there any kind of "relaxation" that I can 
avoid/forbid?

Thanks a lot in advance for your help,
Regards,


--


*Gioia Lorusso*
Lead Backend Developer | Italy
e: g.loru...@tuotempo.com 
w: http://www.tuotempo.com