AnsweredAssumed Answered

How to continue the iteration when solve routes fail?

Question asked by cy.zhu on Oct 12, 2017
Latest reply on Oct 12, 2017 by cy.zhu

Hi everyone,

I'm doing an iteration process to solve different shortest paths for different combinations of points. But the iteration stops when there is no solution for one combination. I think I may need if-else statement to check if solve fails, so I create a boolean variable "Terminate on solve error" to make it go through next step, but it still stuck at solve.

I'm new to python so don't know how to achieve this function. I attach the errors and part of the model in the screenshots. Does anyone have suggestions?

Thanks!

Attachments

Outcomes