Skip to content

Commit

Permalink
editing open kyoto scenario - config
Browse files Browse the repository at this point in the history
  • Loading branch information
mkreuschner committed Sep 13, 2024
1 parent dc443ab commit c66cb12
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion input/v1.0/kyoto-v1.0-10pct.config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<param name="mutateAroundInitialEndTimeOnly" value="true"/>
</module>
<module name="controller">
<param name="lastIteration" value="500"/>
<param name="lastIteration" value="200"/>
<param name="overwriteFiles" value="failIfDirectoryExists"/>
<param name="runId" value="kyoto-v1.9"/>
<param name="outputDirectory" value="./output/kyoto-v6.3-10pct"/>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!-- <version>15.0</version> -->

<!-- PR-labelled release -->
<version>2025.0-PR3402</version>
<version>2025.0-PR3470</version>

<!-- snapshot == not recommended: rather use PR-labelled release!-->
<!-- <version>2025.0-SNAPSHOT</version>-->
Expand Down
14 changes: 7 additions & 7 deletions src/main/java/org/matsim/run/OpenKyotoScenario.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ protected Config prepareConfig(Config config) {
.setWeight(0.15)
.setSubpopulation("person")
);

config.replanning().addStrategySettings(
new ReplanningConfigGroup.StrategySettings()
.setStrategyName(DefaultPlanStrategiesModule.DefaultStrategy.SubtourModeChoice)
.setWeight(0.15)
.setSubpopulation("person")
);
// TODO: modechoice is not calibrated yet
// config.replanning().addStrategySettings(
// new ReplanningConfigGroup.StrategySettings()
// .setStrategyName(DefaultPlanStrategiesModule.DefaultStrategy.SubtourModeChoice)
// .setWeight(0.15)
// .setSubpopulation("person")
// );

return config;
}
Expand Down

0 comments on commit c66cb12

Please sign in to comment.