Skip to main content
Solved

Optimization is not consistent between computers?

  • February 11, 2019
  • 1 reply
  • 56 views

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 338 replies

I'm trying to optimize a system with a partner but our results keep coming back different from one another even though we are using the same operands and variables. Why is this happening? 

Best answer by Allie

First, you should check to make sure that the system is the same right before the optimization process. When using a local optimizer like the one available in OpticStudio, the starting point for your design prior to optimization is important and can change the optimal design that is attained.

The downfall of any gradient-based optimization algorithm is that it will always get trapped in local minima in solution space; however, even with the same optical system and starting point, the final solution reached may be different due to the nature of multi-threading. With multithreading, there is inconsistency in the order in which threads are completed, which in conjunction with precision limits and random perturbations introduced in the optimization algorithm, can alter the sum of the Merit Function when multiple cycles of optimization are performed.

View original
Did this topic help you find an answer to your question?

1 reply

Allie
Zemax Staff
Forum|alt.badge.img+2
  • Author
  • Zemax Staff
  • 338 replies
  • Answer
  • February 11, 2019

First, you should check to make sure that the system is the same right before the optimization process. When using a local optimizer like the one available in OpticStudio, the starting point for your design prior to optimization is important and can change the optimal design that is attained.

The downfall of any gradient-based optimization algorithm is that it will always get trapped in local minima in solution space; however, even with the same optical system and starting point, the final solution reached may be different due to the nature of multi-threading. With multithreading, there is inconsistency in the order in which threads are completed, which in conjunction with precision limits and random perturbations introduced in the optimization algorithm, can alter the sum of the Merit Function when multiple cycles of optimization are performed.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings