No lpsolve return type for status code 25 (ACCURACYERROR)

45 views
Skip to first unread message

Iraklis D.

unread,
Jun 26, 2023, 6:18:23 AM6/26/23
to lp_solve
Per https://lpsolve.sourceforge.net/5.5/solve.htm LpSolve may return a status code 25 indicating an ACCURACYERROR. However, using the 5.5 latest DLLs in our C# wrapper library the enum lpsolve_return contains these:


        public enum lpsolve_return
        {
            NOMEMORY = -2,
            OPTIMAL = 0,
            SUBOPTIMAL = 1,
            INFEASIBLE = 2,
            UNBOUNDED = 3,
            DEGENERATE = 4,
            NUMFAILURE = 5,
            USERABORT = 6,
            TIMEOUT = 7,
            PRESOLVED = 9,
            PROCFAIL = 10,
            PROCBREAK = 11,
            FEASFOUND = 12,
            NOFEASFOUND = 13,
        }

Is this a bug where the ACCURACYERROR enum field has not been added? Or does that reside somewhere else?

--
Kind regards,
Iraklis D.

Peter Notebaert

unread,
Jun 26, 2023, 6:58:34 AM6/26/23
to Iraklis D., lp_solve
It was Just not added.



From: lp_s...@googlegroups.com <lp_s...@googlegroups.com> on behalf of Iraklis D. <sithi...@gmail.com>
Sent: Monday, June 26, 2023 12:18:23 PM
To: lp_solve <lp_s...@googlegroups.com>
Subject: No lpsolve return type for status code 25 (ACCURACYERROR)
 
--
You received this message because you are subscribed to the Google Groups "lp_solve" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lp_solve+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lp_solve/a4a7efc4-ac39-4590-bd03-8f27533c5466n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Iraklis D.

unread,
Jun 26, 2023, 7:59:08 AM6/26/23
to lp_solve
Is there a plan to fix this? Or can we implement a patch and somehow commit / merge that to your repo?

P.S.: We have applied a manual workaround for that.

--
Kind regards,
Iraklis D.

Reply all
Reply to author
Forward
0 new messages