droste89 / SOStab

A sum-of-squares toolbox for stability analysis
GNU General Public License v3.0
7 stars 1 forks source link

Separation sdpvar declaration & resolution #8

Closed matteo-tacchi closed 1 year ago

matteo-tacchi commented 1 year ago

both methods SoS_out and SoS_in define the same objects (e.g. f, [-1,1]^n, the target set...). Very often both methods are called one after the other. It would be better to separate the definition of the variables that are common to the 2 methods, into a new method (e.g. obj.SoS_var), so that we do not repeat all variable declarations at each call of SoS_in and SoS_out. This way we will save computational time.

droste89 commented 1 year ago

Seems too complicated to implement to be worth it.