The following code quickly consumes all available memory on the machine:
sage: P = MixedIntegerLinearProgram(solver="Coin")
sage: P.add_constraint(P[0]+P[1]==1)
sage: while True:
: P = copy(P)
: w = solve(P)
A ticket has been opened, #12004. If the solver is GLPK, however, this issue
On Nov 8, 12:01 pm, Alastair Irving
wrote:
> On 08/11/2011 16:52, Chappman wrote:
>
> > Hi folks,
>
> > When I try and do to two arguments in the same lines in sagemath it
> > does not compute, this is what I have written:
>
> > if A==1 and D==1 then case<- 1 else
> > if A==2 and D==1 then
On 08/11/2011 16:52, Chappman wrote:
Hi folks,
When I try and do to two arguments in the same lines in sagemath it
does not compute, this is what I have written:
if A==1 and D==1 then case<- 1 else
if A==2 and D==1 then case<- 2
Hi
This is not the correct syntax for an if statement in
Hi folks,
When I try and do to two arguments in the same lines in sagemath it
does not compute, this is what I have written:
if A==1 and D==1 then case <- 1 else
if A==2 and D==1 then case <- 2
and
if case==1 then probsy <- list1 and probsz <- list1 else
if case==2 then probsy <- lis