Hello everyone! I would like to ask a question about the solvability of a
linear programming problem.
I use sagemath to check whether my LP problem has any feasible solution or
not.
The program is similar to the following one without details
sage: p = MixedIntegerLinearProgram(maximization=False,
You can use an exception, something as follows:
def is_lp_solvable(P):
try:
P.solve()
return True
except:
return False
Am Sonntag, 28. April 2019 14:31:31 UTC+2 schrieb husi...@gmail.com:
>
> Hello everyone! I would like to ask a question about the solvability of a
Yes, I downloaded via apt. The supporting python packages were also
downloaded via apt.
On Sat, Apr 27, 2019 at 5:08 PM Vincent Delecroix <20100.delecr...@gmail.com>
wrote:
> Hello,
>
> What did you downloaded exactly? You meant that you installed
> Sage from via the package manager (apt)?
>
> Be
I do not see anything obvious in the crash report that explains the
problem. For each thing below could you copy paste the full output
of what appears in the console.
1. The list of sagemath packages installed
$ apt list --installed | grep sagemath
2. Files in /usr/lib/python2.7/dist-package