optimization.glass_expert
Optiland Glass Expert Optimization Module
This module provides a class for defining and solving optimization problems that include categorical variables in the form of lens materials. For each glass variable, the goal is to choose the glass that yields the lowest merit function value. The glasses to choose from are specified in the form of a list of strings: glasses = [‘N-BK7’, ‘S-BSM22’, ‘LF5G19’, …]
The optimizer performs categorical optimization on glass variables encoded into their (n_d, V_d) properties. It systematically searches for better-performing glasses by exploring nearest neighbors in the material space, followed by continuous local refinement of lens parameters.
drpaprika, 2025
Classes
|
Greedy nearest-neighbour glass substitution strategy inspired by CODE V's Glass Expert. |