Re: [sympy] Is Sympy feasible for large numbers of variable manipulations?

2010-06-14 Thread Aaron S. Meurer
On Jun 14, 2010, at 10:17 AM, Kevin Hunter wrote: > I'm currently working on a mathematical optimization framework. > Briefly, solving an optimization problem means finding the best > possible solution from a set of feasible solutions. Usually, this > involves maximizing or minimizing one or mor

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Ondrej Certik
On Mon, Jun 14, 2010 at 7:18 PM, Brian Granger wrote: > On Mon, Jun 14, 2010 at 7:15 PM, Aaron S. Meurer wrote: >> git.sympy.org is on Ondrej's server, so he has it setup so that a buildbot >> runs the tests whenever someone pushes.  Are such hooks possible for github? > > Ok, that makes sense.

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Brian Granger
On Mon, Jun 14, 2010 at 7:15 PM, Aaron S. Meurer wrote: > git.sympy.org is on Ondrej's server, so he has it setup so that a buildbot > runs the tests whenever someone pushes.  Are such hooks possible for github? Ok, that makes sense. We should see if github has such hooks...or minimally we shou

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Brian Granger
On Mon, Jun 14, 2010 at 7:12 PM, Aaron S. Meurer wrote: > > On Jun 14, 2010, at 3:24 PM, Brian Granger wrote: > >> Hi, >> >> I am getting back to sympy now that finals are done and I noticed that >> the repo situation with sympy is a bit confusing: >> >> * There is now a sympy/sympy github repo, t

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Aaron S. Meurer
git.sympy.org is on Ondrej's server, so he has it setup so that a buildbot runs the tests whenever someone pushes. Are such hooks possible for github? Aaron Meurer On Jun 14, 2010, at 8:13 PM, Brian Granger wrote: >> I think the current suggested form is to fork the sympy/sympy (with >> githu

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Brian Granger
>   I think the current suggested form is to fork the sympy/sympy (with > github's forking feature), and pull changes from the git.sympy.org repo > (with a remote repository set up). Forking the sympy/sympy puts you in a > github network that lets everyone track what's going on (to some extent). I

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Aaron S. Meurer
On Jun 14, 2010, at 3:24 PM, Brian Granger wrote: > Hi, > > I am getting back to sympy now that finals are done and I noticed that > the repo situation with sympy is a bit confusing: > > * There is now a sympy/sympy github repo, that looks very attractive > to fork and use... > * But it is not

Re: [sympy] github versus sympy.org repo confusion

2010-06-14 Thread Christian Muise
I think the current suggested form is to fork the sympy/sympy (with github's forking feature), and pull changes from the git.sympy.org repo (with a remote repository set up). Forking the sympy/sympy puts you in a github network that lets everyone track what's going on (to some extent). Cheers

Re: [sympy] finding max value of function

2010-06-14 Thread Aaron S. Meurer
First off, p - q == p - (1 - p) == 2*p - 1. Second, b cancels in that equation, giving you f == 2*p - 1, which should be a constant. So maybe you typed it wrong? To find the maximum, you should use derivatives. See http://en.wikipedia.org/wiki/Differential_calculus#Optimization. The maximum

[sympy] Is Sympy feasible for large numbers of variable manipulations?

2010-06-14 Thread Kevin Hunter
I'm currently working on a mathematical optimization framework. Briefly, solving an optimization problem means finding the best possible solution from a set of feasible solutions. Usually, this involves maximizing or minimizing one or more "objective" functions, but within the confines of a number

[sympy] github versus sympy.org repo confusion

2010-06-14 Thread Brian Granger
Hi, I am getting back to sympy now that finals are done and I noticed that the repo situation with sympy is a bit confusing: * There is now a sympy/sympy github repo, that looks very attractive to fork and use... * But it is not in sync with git.sympy.org. What is the plan for the github repo?

[sympy] finding max value of function

2010-06-14 Thread butch
Pot is $ in poker pot minBet is minimum amount you must bet to play pot odds are calculated by b = Pot/minBet p is the probability of winning a poker hand: 0.0 <= p <= 1.0 q is the probability of loosing a poker hand: q = 1.0 - p f is the calculated kelly bet f = ( b * (p-q)) / b substitut