LP Solve IDE solves two models correctly but C# library returns wrong results?

29 views
Skip to first unread message

Iraklis D.

unread,
Jun 28, 2023, 7:30:23 AM6/28/23
to lp_solve
Hello there.

We have a model where when I try to run it via the LpSolve IDE the model runs just fine and an optimal objective is found.

However, doing the same thing with the C# library causes an ACCURACYERROR. Any idea, why is that happening? FYI, we do not set any parameters when using the C# library.

Also, another model is infeasible and the LpSolve IDE along w/ other tools agree on that but the C# solution generates an optimal solution.

Other models run fine and optimal solutions match when using both the C# library and the LpSolve IDE but those two models are the only ones that I am currently aware that exhibit these kind of problematic behaviour. Any ideas?

P.S.: Solution in the first case is 120 vs infeasible (C# library vs LpSolve IDE) and in the second case they are close but they differ by a margin of ~40 (aka -601 vs -641.445548318; C# library vs LpSolve IDE).

I assume the LpSolve IDE cases are correct as they agree with other tools independently.

--
Kind regards,
Iraklis D.
Reply all
Reply to author
Forward
0 new messages