Ask Your Question

Cloud.Sagemath Versus Local Install

asked 2014-10-02 19:49:40 -0500

Austin Mohr gravatar image

updated 2014-10-02 19:50:22 -0500

I have students using cloud.sagemath for some Project Euler problems, and some of their programs appear to be taking quite some time to complete. How does cloud.sagemath compare to a local installation? In particular:

  1. Can programs executed through cloud.sagemath run for an arbitrary amount of time? If not, is any kind of message printed when they are terminated?
  2. How would runtimes on a local install on a "typical baseline" computer compare with runtimes at cloud.sagemath?
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-10-03 04:32:39 -0500

tmonteil gravatar image

updated 2014-10-03 06:27:39 -0500

Unless the cloud is overloaded, there should not be so much difference. In case of doubt, just run a given program on both your personal computer and the cloud and use %timeit my_sage_command so see how long it takes in both cases. Anyway, the main rule of project Euler is that the solution should not last more than one minute on a modest computer, so it is lilely your student's programs are not optimal

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-10-02 19:49:40 -0500

Seen: 379 times

Last updated: Oct 03 '14