Jump to content

Recommended Posts

Posted

Hello. How can i get the row index where the max value of some data table column is stored?


I need this because in my model i will seize workers based on this max value.


edit: Using Maximize Expression will get me there?

Posted

That's right... use maximize expression with the Search step, set limit to 1 (default). The new token will be associated with the row. Alternatively, you can save the row index using the advanced properties of the search step.


The Search step feels like the most powerful step in Simio to me...

Posted
That's right... use maximize expression with the Search step, set limit to 1 (default). The new token will be associated with the row. Alternatively, you can save the row index using the advanced properties of the search step.


The Search step feels like the most powerful step in Simio to me...

 

I've solved my problem this way, many thanks :)

×
×
  • Create New...