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:)
Hello, instead of using SELECTIJ for achieving this, if you would like to undertake pathbuilding only for specific I-J pairs, you can specify the I and J subkeywords for the ROUTEI or ROUTEO specific user classes (3 and 4 in your case). Please have a look at the below session in our CUBE Voyager Reference Guide:
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.