Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Is there a way to retrieve extreme rays for unbounded LPs and Farkas certificates ?

57 views
Skip to first unread message

Henri Lefebvre

unread,
Sep 12, 2022, 11:11:11 AM9/12/22
to lp_solve
Hi everyone, 

My question is rather simple. 

Is there any way of getting an extreme ray for an unbounded LP ? If so, how?

Same question regarding infeasibility certificates. 

I am using the C API.

I've been trying to call the usual get_var_primalresult function on an unbounded problem without success. 

Thanks in advance, 

Henri.

Manuel Muñoz Márquez

unread,
Sep 12, 2022, 1:33:10 PM9/12/22
to lp_s...@googlegroups.com

Hi,

I don't know if lp_solve has that capabiity, but if the problem is unbounded, you can get a ray solution replacing the right hand side vector values with 0, and separating the solution from null vector.

The last can be done in ways, one is fixing the sum of all variables to 1, other is fixing one variable to a 1.

Manuel

El 12/9/22 a las 17:11, Henri Lefebvre escribió:
--
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/00d4f471-4bd5-40e0-a8ac-85ef444c63e3n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages