LSDOlab / modopt

A MODular development environment and library for OPTimization algorithms
https://modopt.readthedocs.io
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Optimizer class tooltips #1

Open msperryucsd opened 3 months ago

msperryucsd commented 3 months ago

It would be helpful if well-used optimizers like SNOPT/SLSQP/PySLSQP has tooltips for their arguments.

For example for SNOPTc:

class SNOPTc(SNOPTOptimizer):
    def __init__(self, *args, solver_options:dict[str] = None, **kwargs):
        super().__init__(*args, solver_options = solver_options, **kwargs)

gives a VSCODE tooltip: image

msperryucsd commented 2 months ago

Related: @anugrahjo "turn_off_outputs" kwarg not in tooltips/docs and not in options in error: image