-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set subtourModeChoice by subpopulation #3644
Comments
I take it that you want different subtourModeChoice behavior for different subpopulations. I fear that that is not possible, almost certainly not from xml, and possibly not even from Java (in a simple way). However, from looking at your snippet, it looks like you do not want mode choice at all for one of your subpopulations. This should be possible, by configuring the subtourModeChoice strategy only for the one subpopulation but not for the other. (I think that the config module is now called the "replanning" module.) |
Hi @kainagel , thanks for your response.
I think it looks that way because I over simplified the snippet. I actually want to restrict the mode choice options for the subpopulation like this:
Do you think this might be possible by "configuring the subtourModeChoice strategy only for the one subpopulation but not for the other." ... this is precisely what the example is trying to specify?? |
... ah I think you mean only to provide the subtourModeChoice strategy for one subpopulation |
I am considering making the modes prohibitively expensive for the subpopulation but restricting the subtourmodechoice set would be more direct and efficient. |
Hello, I would like to specify the mode choice behaviour for subpopulations . I have tried this in the config
however the subpopulation parameterset is ignored. Note that the desired effect is achieved globally if
<param name="modes" value="car"/>
is uncommented.Thoughts and suggestions welcomed!
The text was updated successfully, but these errors were encountered: