Hello Is there anyway to check is a linear program which has been implemented by > MixedIntegerLinearprogram > has a solution or not. >
Try creating & solving your program. If it has no solution, Sage will throw an exception. The exception will contain a message with some information, though offhand I don't know whether it covers all the information you want. I think that depends to a large extent on the backend; for instance, glpk will sometimes segfault when there is no solution, and sometimes go into an infinite loop. I find that I have a doctstring documenting that glpk's developers consider this "essentially innate" to their design, so it may be impossible for Sage to give more information than it does. I'm open to correction.. john perry -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
