notesum.ai
Published at November 8optipoly: A Python package for boxed-constrained multi-variable polynomial cost functions optimization
cs.CE
Released Date: November 8, 2024
Authors: Mazen Alamir
![[Uncaptioned image]](https://arxiv.org/html/2411.05689v1/extracted/5987757/images/dataframe.png)
| Methods | input | returns | Description |
|---|---|---|---|
| extract_sc_pol | x0, ix | sc_pol | Generate a scipy scalar polynomial sc_pol in the component indexed by ix at the current value x0 of the decision variable. |
| to_df | None | df | Generate a pandas dataframe df representing the polynomial data. |
| to_dict | None | dic | Generate a python dictionary dic representing all the information regarding the polynomial. |
| solve | x0, xmin, xmax, Ntrials, ngrid, iter_max, eps, psi | solution, cpu | The main method that minimizes/maximizes or find roots for the instance polynomial. The mode depends on the choice of the lambda function psi. See the detailed description of the parameters in Section 3.3. |