[sage-support] Solve MixedIntegerLinearProgram for variables that are limited to the given set

2014-12-11 Thread pegah Ali
Hello everybody, I am new to sage and try to solve the following LP with MixedIntegerLinearProgram: Maximization: 3.0 x_0 + 2.0 x_1 - 1.0 x_2 Constraints: (x_0, x_1, x_2) in {(4.0,5.0,6.0), (1.0,2.0,3.0), (9.0,5.0,2.0)} How can I define MixedIntegerLinearProgram to solve my pro

Re: [sage-support] Converting Sage worksheet to Python or Executable

2014-12-11 Thread kcrisman
> You are right. Have a look here: > http://www.sagemath.org/doc/tutorial/programming.html > > For making documentation from your worksheet, see also http://trac.sagemath.org/ticket/17265 which is in, but apparently in the Sage 6.5 series. -- You received this message because you are subsc

[sage-support] Re: Solve MixedIntegerLinearProgram for variables that are limited to the given set

2014-12-11 Thread Dima Pasechnik
On 2014-12-11, pegah Ali wrote: > --=_Part_141_146171712.1418307564716 > Content-Type: multipart/alternative; > boundary="=_Part_142_2134155063.1418307564716" > > --=_Part_142_2134155063.1418307564716 > Content-Type: text/plain; charset=UTF-8 > > Hello everybody, > > I am new to

[sage-support] Re: Solve MixedIntegerLinearProgram for variables that are limited to the given set

2014-12-11 Thread pegah Ali
Hello Dima, Thank you for your response. It gave me some ideas :) On Thursday, December 11, 2014 3:19:24 PM UTC+1, pegah Ali wrote: > > Hello everybody, > > I am new to sage and try to solve the following LP with > MixedIntegerLinearProgram: > > > > Maximization: > 3.0 x_0 + 2.0 x_

[sage-support] Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-11 Thread Kevin Conway
Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11. Version of sagenb was 0.11.1. To reproduce, build Sage from source (e.g., ./make from Sage installation directory). CPU was "CPU1: Intel(R) Core(TM)2 Duo CPU E4400 @ 2.00GHz stepping 0d" per dmesg. Sage runs, but ptest or building

[sage-support] Re: Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11

2014-12-11 Thread kcrisman
>Sage (6.4.1) notebook build failed on 32 bit CentOS 5.11. Version of > sagenb was 0.11.1. To reproduce, build Sage from source (e.g., ./make from > Sage installation directory). CPU was "CPU1: Intel(R) Core(TM)2 Duo CPU > E4400 @ 2.00GHz stepping 0d" per dmesg. Sage runs, but ptest o