How to ignore the solver error during batching solving

yugang
yugang Altair Community Member
edited October 2020 in Community Q&A

Hello,

How to ignore the solver error during batching solving ?

When we use activate during batching solving, if there is solver error, the simulation will be stopped. It is a pity.

How can turn off this error warning, and ignore this error, continue to solve in next step, not stop here?

Because if we have 5000 batch solving steps. one error in it, it is OK, during our result analyze, we can remove this point.

But in simulation, if it stops here, it take our time to watch the solving and not automatically.

 

Answers

  • robertavarela
    robertavarela New Altair Community Member
    edited October 2020

    What if you create an OML script to be the master and call the simulation in Activate as a slave? There are a couple strategies to do so in the topic

    https://community.altair.com/community?id=community_question&sys_id=8366803a1b2bd0908017dc61ec4bcb1e

    Then you use in OML the command try catch to skip the error. Everytime the command executed in the try block fails, the catch block will become active and will be executed.

     

    Regards,

     

    Roberta

  • yugang
    yugang Altair Community Member
    edited December 2019

    Hello, 

    Thanks for your reply.

    Yes, I have read your post, and follow excatlly the same way as shown in the topics.

    I will add try catch loop into my master script.

    If any progress, or interesting finding, I will add here.

    Have a nice day.

  • RoKet
    RoKet
    Altair Employee
    edited January 2020

    Hi yugang,

    This is a very interesting use case. Did you make any progress?

    Regards

  • yugang
    yugang Altair Community Member
    edited April 2020

    Hi yugang,

    This is a very interesting use case. Did you make any progress?

    Regards

    I spend more time to optimize my model. To make sure no solver error while simulation.

    In this way, now it works quite well.