Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Warning:only one thread is used for simulation

23 views
Skip to first unread message

Bassie Yizengaw

unread,
Aug 3, 2024, 10:11:18 AM8/3/24
to Biogeme
Dear Michel

I was trying to simulate individual specific parameters using..

,simulate = {'01 B_invertabrate_medium Bn':B_invertabrate_mediumn,
'02 B_invertabrate_high Bn': B_invertabrate_highn,
'03 B_smoke_25 Bn': B_smoke_25n,
'04 B_smoke_50 Bn': B_smoke_50n,
'05 B_smoke_75 Bn': B_smoke_75n,
'06 B_employement_150 Bn': B_employement_150n,
'07 B_employement_300 Bn': B_employement_300n,
'08 B_employement_450 Bn': B_employement_450n,
'09 B_cost WTPBn': B_costn}
....
but I got the following warning, as attached: 

Any guidance in this regard ?
Thank you very much for your time and assistance.

Best regards
Bassie


 

Screenshot 2024-08-03 184856.png

Michel Bierlaire

unread,
Aug 3, 2024, 10:45:01 AM8/3/24
to bassiey...@gmail.com, Michel Bierlaire, Biogeme
Difficult to say what caused the problem.

This example may be useful:
https://biogeme.epfl.ch/sphinx/auto_examples/swissmetro/plot_b19individual_level_parameters.html#sphx-glr-auto-examples-swissmetro-plot-b19individual-level-parameters-py
> --
> You received this message because you are subscribed to the Google Groups "Biogeme" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to biogeme+u...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/biogeme/5b4bc306-9833-43c2-8950-8d5bf88e91ebn%40googlegroups.com.
> <Screenshot 2024-08-03 184856.png>

Michel Bierlaire
Transport and Mobility Laboratory
School of Architecture, Civil and Environmental Engineering
EPFL - Ecole Polytechnique Fédérale de Lausanne
http://transp-or.epfl.ch
http://people.epfl.ch/michel.bierlaire

Michel Bierlaire

unread,
Aug 6, 2024, 2:56:32 AM8/6/24
to bassiey...@gmail.com, Biogeme, Michel Bierlaire
The message is self-explanatory. You cannot nest Montecarlo statements.
Refer to the example.


> On 5 Aug 2024, at 09:33, bassiey...@gmail.com wrote:
>
> But still, I getting an error saying that
>
> {BiogemeError: It is not possible to include a MonteCarlo statement in another one: MonteCarlo(((Beta('B_invertabratem', 34.7, -10000, 10000, 0) + (Beta('B_invertabrates', 5.94, -10000, 10000, 0) *..................................
>
> Any solution for this?
>
> Many thanks.
Reply all
Reply to author
Forward
0 new messages