Skip to content

faq 87457795

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

PopulationUtils.createPlan()

by makinde on 2016-09-29 10:24:37


i am trying to run the CreateDemand class for the Zurich tutorial in https://github.com/matsim-org/matsim/blob/master/matsim/src/main/java/tutorial/programming/demandGenerationWithFacilities/CreateDemand.java.

line 224 and 225 keeps giving an error i.e.

Plan newPlan =PopulationUtils.createPlan();

PopulationUtils.copyFromTo(plan, newPlan);

Ecclipse says the createPlan() method does not exist in the PopulationUtils class. can someone pls help me, as i am new to MATSim, and this is quit urgent.


I am using the current version of MATSim

I


Comments: 2


Re: PopulationUtils.createPlan()

by Johan W. Joubert on 2016-09-29 13:08:57

What do you consider the current version of MATSim, Makinde? The 0.8.x release, or have you checked out the GitHub version, i.e. the repository Head? I have the latter, but cannot replicate your problem. The methods exist in the Head.


Re: PopulationUtils.createPlan()

by makinde on 2016-10-31 17:40:25

Thanks. downloaded the git hub as a marven project. it works ok now

Clone this wiki locally