Bad solve option error

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

jfgeli
Posts: 72
Joined: Fri Jan 30, 2009 6:29 pm

Bad solve option error

Postby jfgeli » Thu Jan 19, 2017 3:43 am

Hi there, I need Eviews to solve a model using the stochastic option. In doing so, I would like the solver to go through all repetitions (in my case 1000) even if they fail. Actually, my goal is to check how many repetitions fail out of the total. If I solve the model (in my program is called _mod) manually I can select 100 as "% failed reps before halting". However, if I do this in a program, I cannot use f=1 or f=0.9 because I get the error message "Bad solve option". I tried with f=0.85 and it works. I am attaching the program so you can try to replicate the behavior I experience. The solutions options can be found in the subroutine model_solution, at the end of the script.

Thanks for your help!
Attachments
odt simulations.prg
(10.44 KiB) Downloaded 257 times

EViews Matt
EViews Developer
Posts: 562
Joined: Thu Apr 25, 2013 7:48 pm

Re: Bad solve option error

Postby EViews Matt » Thu Jan 19, 2017 10:59 am

Hello,

There are undocumented limits of < 100% failed repetitions via the GUI and < .9 failed repetitions via the command interface. The next patch to EViews will raise those limits to their logical maximum, <= 100% and <= 1.

jfgeli
Posts: 72
Joined: Fri Jan 30, 2009 6:29 pm

Re: Bad solve option error

Postby jfgeli » Fri Jan 20, 2017 1:23 am

Great!!! Many thanks ;)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 22 guests