[SciPy-User] lower bounds argument for scipy.optimize.anneal

josef.pktd@gmai... josef.pktd@gmai...
Mon Oct 4 15:47:06 CDT 2010


On Mon, Oct 4, 2010 at 12:59 PM, Nathan Harmston
<iwanttobeabadger@googlemail.com> wrote:
> Hi,
>
> So I'm trying to use the siman function to minimise a likelihood function:
>
> print anneal(anneal_ll,[100.0, 100.0, 100.0, 100.0, 100.0, 100.0,
> 100.0, 100.0, 100.0, 100.0, 100.0, 100.0],lower=[0.0, 0.0, 0.0, 0.0,
> 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
> full_output=1,feps=1e-4,maxiter=1000000000,schedule='cauchy')
>
> My parameters estimate properly however I get negative values for some
> of the parameters. I thought the lower argument specified the lowest
> value a parameter could take? Am I doing something incredibly stupid
> or is this functionality not implemented?

It's not implemented from what I understand, see

http://projects.scipy.org/scipy/ticket/1126

Josef

>
> Many thanks in advance,
>
> Nathan Harmston
>
> --
> Nathan Harmston
> PhD Researcher: Theoretical Systems Biology
> Biochemistry Building
> Department of Biological Sciences
> Imperial College London
> SW7 2AY London
> Tel: +44 (0)20 7594 5044
>
> Theoretical Systems Biology - Imperial College London
> http://www3.imperial.ac.uk/theoreticalsystemsbiology/people/nathanharmston
>
> http://biogeeks.wordpress.com/
> http://biostar.stackexchange.com/users/236/nathan-harmston
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>


More information about the SciPy-User mailing list