Jump to content

Selecting Maximum value within a column or adding values in a column for optimization


Simulator
 Share

Recommended Posts

Hello

In my simulation model I need to scan rows for maximum value within a column, and then assign this maximum value to say a state variable so I can reference it in the responses to optimize using optquest. It would also be useful if I can add all the values within the column and use that instead for optimization. I am not quite able to figure out how to do this. Would appreciate any help in pointing me towards right direction!

 

TIA!

Edited by Simulator
Link to comment
Share on other sites

×
×
  • Create New...