Re: [Fwd: Constraint not respected]
Michael Hennebry <[email protected]> Wed, 23 Jun 2021 10:17:55 -0500 (CDT)
| Newsgroups | gmane.comp.gnu.glpk |
|---|---|
| Message-ID | <[email protected]> |
From: Gioia Lorusso <[email protected]> > 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 [email protected] "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