Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Monte Carlo Optimization' topicStudent Support Forum > General > Archives > "Monte Carlo Optimization"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Patrick
04/24/13 7:33pm

In Response To 'Re: Monte Carlo Optimization'
---------
Hi Bill,

Thank you for the response and the edits. Everything appears to work okay. However I am confused by the use of Cases to gather data from the tbl list? If I call the same elements of both it appears that the list are duplicates. But if I just call tbl, the two list bestParamSets and thrownsets are different.
Secondly, the lists should consist of {decayscore[[i]], v[[i]], ka[[i]], kb[[i]], i}. Is it possible to extend the capabilities of Cases to gather this information in one list? When I attempted to try this I failed.
I attempted to implement Sow and Reap as an alternate approach, however I could only return one list of the 5 elements.

BPS = Reap[Sow[{decayscore[[i]], v[[i]], ka[[i]], kb[[i]], i}]][[1]];
BPS
{3387.54,1,48.1491,10.4317,999}

Thanks again,

Patrick

Sorry there's a lot here.

Attachment: Markovforummodels.nb, URL: ,

Subject (listing for 'Monte Carlo Optimization')
Author Date Posted
Monte Carlo Optimization Patrick 04/19/13 10:11am
Re: Monte Carlo Optimization Bill Simpson 04/21/13 11:00pm
Re: Re: Monte Carlo Optimization Patrick 04/24/13 7:33pm
Re: Re: Re: Monte Carlo Optimization Bill Simpson 04/25/13 4:38pm
Re: Re: Re: Re: Monte Carlo Optimization Patrick 05/01/13 09:23am
Re: Re: Re: Re: Re: Monte Carlo Optimization Bill Simpson 05/02/13 9:08pm
Re: Re: Re: Re: Re: Re: Monte Carlo Optimization Patrick 05/03/13 1:12pm
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic