Hello, I wish to use selectij phase to user class 3-4, and select two specific i-j pairs of them.
Is there a demo program or script of it.
Thx in advance:)
Thx, Fillippo. But I think the I,J subkeywords of routeo can not meet my need. I wish to select the I-J pairs from and to the airports. I think the SELECTBYMAT can do that, but I'm not sure how to use this subkeyword based on the description of the Help file. Can you give me some more detail explanation of how to use it.
Thanks
Please have a look at the Wiki below and let me know if you have further questions:
https://communities.bentley.com/products/citilabs-cube/w/cube-streetlytics-wiki/50642/how-to-constrain-path-building-for-only-selected-i-j-pairs-in-pt
Dear Fillippo
I also has a question.
If I want to do the select i-j pairs for userclass 3 using the third method.
Where do I add the "PARAMETERS TRIPSIJ[3]=MI.1.3" for the loading od matrix.
Does it should add in the selectij phase or can just add in front of the script.
"
FILEO ROUTEO[3] = "{SCENARIO_DIR}\air_bus_loop.RTE",SELECTBYMAT=MI.2.1
PROCESS PHASE=SELECTIJ
PARAMETERS TRIPSIJ[3]=MI.1.3,NOROUTEMSGS=1000000,NOROUTEERRS=1000000000 IF(MI.2.1==0) CONTINUE
ENDPROCESS
Is that right?:)
Thanks in advance.
Hello. Please try to use the syntax below:
PROCESS PHASE=SELECTIJ IF (USERCLASS=1) TRIPSIJ=MI.1.1 IF(TRIPSIJ==0) CONTINUE ENDIF IF (USERCLASS=2) TRIPSIJ=MI.1.2 ENDPROCESS
In this example, considering USERCLASS 1 as the one to be constrained.
Thanks Filippo
I think I get the right result of this way.
PARAMETERS TRIPSIJ[1]=MI.1.1,NOROUTEMSGS=1000000,NOROUTEERRS=1000000000 ; ASSIGNING THE BUS TRIP PARAMETERS TRIPSIJ[2]=MI.1.2,NOROUTEMSGS=1000000,NOROUTEERRS=1000000000 ; ASSIGNING THE metro TRIP PARAMETERS TRIPSIJ[3]=MI.1.3,NOROUTEMSGS=1000000,NOROUTEERRS=1000000000 ; ASSIGNING THE air coach TRIP PARAMETERS TRIPSIJ[4]=MI.1.4,NOROUTEMSGS=1000000,NOROUTEERRS=1000000000 ; ASSIGNING THE air exp TRIP *** PROCESS PHASE=SELECTIJ IF(MI.2.1==0 & userclass=3-4) CONTINUE ENDPROCESS
Thanks a lot:)
Sure. I updated the post here accordingly: https://communities.bentley.com/products/citilabs-cube/w/cube-streetlytics-wiki/50642/how-to-constrain-path-building-for-only-selected-i-j-pairs-in-pt
Thank you.