help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Assertion failed: l[k] != -DBL_MAX, Error detected in fi


From: Robbie Morrison
Subject: Re: [Help-glpk] Assertion failed: l[k] != -DBL_MAX, Error detected in file glpios02.c at line 312
Date: Wed, 29 Aug 2012 04:22:21 +1200
User-agent: SquirrelMail/1.4.22

Hello John

------------------------------------------------------------
To:          "address@hidden" <address@hidden>
Subject:      [Help-glpk] Assertion failed: l[k] != -DBL_MAX,
              Error detected in file glpios02.c at line 312
From:         John Kalman <address@hidden>
Date:         Tue, 28 Aug 2012 08:21:21 -0700 (PDT)
------------------------------------------------------------

> Hi,
>
> I am running GLPK 4.45 on linux SuSe10.x86_64, I
> recently got several times the followig run time
> error:
>
> Assertion failed: l[k] != -DBL_MAX
> Error detected in file glpios02.c at line 312

I take it that this error occurs during the translation
phase and not during the solution process.

I would look to see how you are setting the bounds on
your variables.  If this yields nothing, then it could
be a bug in the python wrapper.  Just some guesses on
my behalf, mind you.

> I am running GLPK from python (using cvx.opt.glpk
> binding). What could be the reason for this and why is
> there an assertion on line 312?

I don't understand the second part of your question.
The line count refers to 'glpios02.c' and not anything
you wrote.  Or do you mean that assertions should not
be used in production code.  If so, see here for a
C-based solution (that could perhaps be added to the
python wrapper):

  http://en.wikibooks.org/wiki/GLPK/Error_handling

Else see here:

  http://en.wikipedia.org/wiki/Assertion_(computing)

> Thanks
> John

HTH, Robbie
---
Robbie Morrison
PhD student -- policy-oriented energy system simulation
Technical University of Berlin (TU-Berlin), Germany
University email (redirected) : address@hidden
Webmail (preferred)           : address@hidden
[from Webmail client]





reply via email to

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