You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The \code{clear\_cached\_params} method clears any parameters that were cached by the \code{params()} method of each of the set type objects in the \code{var}, \code{lin}, \code{qcn}, and \code{qdc} properties.
3462
+
3456
3463
\subsubsection*{\code{copy}}
3457
3464
\label{sec:copy}
3458
3465
\begin{Code}
@@ -3780,6 +3787,12 @@ \subsubsection{MP Set Manager Math Model Methods}
3780
3787
3781
3788
See the online \href{https://matpower.org/doc/mpom/}{\mpom{} Reference Manual} for the implementing subclass for details.
3782
3789
3790
+
\subsubsection*{\code{clear\_cached\_params}}
3791
+
\begin{Code}
3792
+
sm.clear_cached_params()
3793
+
\end{Code}
3794
+
The \code{clear\_cached\_params} method clears any parameters that were cached by the \code{params()} method.
3795
+
3783
3796
\subsubsection*{\code{params}}
3784
3797
\begin{Code}
3785
3798
[...] = sm.params()
@@ -3872,6 +3885,7 @@ \subsubsection{Methods}
3872
3885
name & description \\
3873
3886
\midrule
3874
3887
\code{get\_set\_types} & return list of property names of set types managed by this class \\
\item New \code{fix\_integer} option for \code{miqps\_master()} and \code{mp.opt\_model.solve()}. Set to true to fix any integer variables to their initial values, as specified in \code{x0} or \code{opt.x0}.
6725
6739
\item Add \code{relax\_integer} option to \code{miqps\_master()} and move the implementation from \code{mp.opt\_model.solve()}.
6740
+
\item Add \code{clear\_cached\_params()} method to \code{mp.set\_manager\_opt\_model} and \code{mp.opt\_model}, to clear aggregated parameters cached by the \code{params()} method.
6726
6741
\item Support for the new HiPO interior point LP solver in the \highs{} optimizer.
6727
6742
\item Support for the new PDHG LP solver in \gurobi{}.
0 commit comments