[Top][All Lists]

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

Re: GLPK Package Help

From: Kai Torben Ohlhus
Subject: Re: GLPK Package Help
Date: Fri, 15 Aug 2014 01:31:27 +0200

On Fri, Aug 15, 2014 at 1:10 AM, Tyler Furrer <address@hidden> wrote:
Hello Kai,

Thank you for the response. I know we can add a ctype=D; however, the issue is when I try to add the boundaries within the b constraint variables. Since ctype=d is an upper and lower boundary, I am trying to enter both values for the constraint but the pro ramming only accepts a single value. I hope that makes sense. I will provide an example as soon as I get to my computer. Thanks for all your help.

Sent from my iPhone

On Aug 15, 2014, at 6:51 AM, Kai Torben Ohlhus <address@hidden> wrote:

On Thu, Aug 14, 2014 at 10:00 AM, Tyler Furrer <address@hidden> wrote:

I am unable to find any information on how to add a "ctype = D" in the GLPK package. Please see the example in the link below which provides only examples of Upper Boundaries.

Thanks for any help that you can provide.

Kind Regards,
Tyler Furrer

Help-octave mailing list


I am not sure how to help you. If you want to try out the example from the link, simply replace "U" with "D". If that still makes sense or becomes infeasible is another story. Otherwise, what is the LP you want to solve?


Please stick to the bottom post convention ( of this list. Now I think I get your problem. An easy workaround is just to duplicate the row with a U and a L constraint. The D is intended for inequality constraints which have the same boundary value with switched signs, like 

-1 <= 2x + 3y <= 1.

If your boundaries are not the same, I'm afraid the duplication is unavoidable.

HTH, Kai

reply via email to

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