Remove the 5000 optimization steps warning

Hello, very good afternoon. I have been looking at the documentation for both SetOption and optimize and I have not found anything. Also, I have already put in the code: SetOption("WarningLevel", 1 ); and I know it works well because it does not warn me when it divides by zero. I would like that I do not get the warning that there are many steps to optimize, because when I run a batch, I am stuck there waiting for my answer.

Thank you very much.

5000

@EJSM you should uncheck the "Warn before running time-consuming optimizations", from the Analysis settings' dialog:

image

3 Likes

Thanks a million, I've been going crazy looking for it!

1 Like

You should rather fix the code instead of hiding warnings.
Warning informs you about code mistake.

E.g. in AB 6.38 there is function SafeDivide

x = SafeDivide(y,z);

So rather use that one for your division line instead of muting warning.

3 Likes

Ohhh thank you so much for your advice!!! The truth is that's very very helpful, I will implement it!

Have a nice day, warm greetings!

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.