Skip to content

Commit 83dbba4

Browse files
committed
Release 2.1.
1 parent 9c27a78 commit 83dbba4

8 files changed

Lines changed: 67 additions & 28 deletions

File tree

CHANGES.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ Change history for MP-Opt-Model
22
===============================
33

44

5-
since last release
6-
------------------
5+
Version 2.0 - *Aug 25, 2020*
6+
---------------------------
77

88
#### 8/25/20
9+
- Release 2.1.
910
- Add core NLEQ solver function `nleqs_core()` with arbitrary,
1011
user-defined update function, used to implement Gauss-Seidel and
1112
Newton solvers, `nleqs_gauss_seidel()` and `nleqs_newton()`.

CITATION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
We request that publications derived from the use of MP-Opt-Model
22
explicitly acknowledge that fact by citing the MP-Opt-Model User's
33
Manual. The citation and DOI can be version-specific or general, as
4-
appropriate. For version 2.0, use:
4+
appropriate. For version 2.1, use:
55

6-
R. D. Zimmerman. MP-Opt-Model User's Manual, Version 2.0. 2020.
7-
[Online]. Available: https://matpower.org/docs/MP-Opt-Model-manual-2.0.pdf
8-
doi: 10.5281/zenodo.3935928
6+
R. D. Zimmerman. MP-Opt-Model User's Manual, Version 2.1. 2020.
7+
[Online]. Available: https://matpower.org/docs/MP-Opt-Model-manual-2.1.pdf
8+
doi: 10.5281/zenodo.4001106
99

1010
For a version non-specific citation, use the following citation and DOI,
1111
with *\<YEAR\>* replaced by the year of the most recent release:

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,18 @@ of MATLAB or Octave, including setting up your MATLAB path.
5050
>> test_mp_opt_model
5151
t_nested_struct_copy....ok
5252
t_have_fcn..............ok
53-
t_nleqs_master..........ok
53+
t_nleqs_master..........ok (30 of 150 skipped)
5454
t_qps_master............ok (100 of 396 skipped)
5555
t_miqps_master..........ok (68 of 288 skipped)
5656
t_nlps_master...........ok
5757
t_opt_model.............ok
58-
t_om_solve_nleqs........ok
58+
t_om_solve_leqs.........ok
59+
t_om_solve_nleqs........ok (36 of 170 skipped)
5960
t_om_solve_qps..........ok (79 of 319 skipped)
6061
t_om_solve_miqps........ok (12 of 72 skipped)
6162
t_om_solve_nlps.........ok
62-
All tests successful (2519 passed, 259 skipped of 2778)
63-
Elapsed time 2.52 seconds.
63+
All tests successful (2713 passed, 325 skipped of 3038)
64+
Elapsed time 3.37 seconds.
6465
```
6566

6667
Sample Usage
@@ -201,11 +202,11 @@ function, e.g.: `qps_master`, `miqps_master`, and `nlps_master`.
201202
We request that publications derived from the use of MP-Opt-Model
202203
explicitly acknowledge that fact by citing the [MP-Opt-Model User's Manual][7].
203204
The citation and DOI can be version-specific or general, as appropriate.
204-
For version 2.0, use:
205+
For version 2.1, use:
205206

206-
> R. D. Zimmerman. *MP-Opt-Model User's Manual, Version 2.0*. 2020.
207-
[Online]. Available: https://matpower.org/docs/MP-Opt-Model-manual-2.0.pdf
208-
doi: [10.5281/zenodo.3935928](https://doi.org/10.5281/zenodo.3935928)
207+
> R. D. Zimmerman. *MP-Opt-Model User's Manual, Version 2.1*. 2020.
208+
[Online]. Available: https://matpower.org/docs/MP-Opt-Model-manual-2.1.pdf
209+
doi: [10.5281/zenodo.4001106](https://doi.org/10.5281/zenodo.4001106)
209210

210211
For a version non-specific citation, use the following citation and DOI,
211212
with *\<YEAR\>* replaced by the year of the most recent release:

docs/MP-Opt-Model-manual.pdf

14.1 KB
Binary file not shown.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
What's New in MP-Opt-Model 2.1
2+
------------------------------
3+
4+
#### Released August 25, 2020
5+
6+
Below is a summary of the changes since version 2.0 of MP-Opt-Model. See
7+
the [`CHANGES.md`][1] file for all the gory details. For release notes
8+
for previous versions, see Appendix C of the [MP-Opt-Model User's
9+
Manual][2].
10+
11+
12+
#### New Features
13+
- Fast-decoupled Newton's and Gauss-Seidel solvers for nonlinear equations.
14+
- New linear equation (`'LEQ'`) problem type for models with equal
15+
number of variables and linear equality constraints, no costs, and no
16+
inequality or nonlinear equality constraints. Solved via `mplinsolve()`.
17+
- The `solve()` method of `opt_model` can now automatically handle mixed
18+
systems of equations, with both linear and nonlinear equality constraints.
19+
- New core nonlinear equation solver function with arbitrary, user-defined
20+
update function, used to implement Gauss-Seidel and Newton solvers.
21+
- New functions:
22+
- `nleqs_fd_newton()` solves a nonlinear set of equations via a
23+
fast-decoupled Newton's method.
24+
- `nleqs_gauss_seidel()` solves a nonlinear set of equations via a
25+
Gauss-Seidel method.
26+
- `nleqs_core()` implements core nonlinear equation solver with
27+
arbitrary update function.
28+
29+
30+
#### Incompatible Changes
31+
- In `output` return value from `nleqs_newton()`, changed the `normF`
32+
field of `output.hist` to `normf`, for consistency in using lowercase
33+
`f` everywhere.
34+
35+
36+
[1]: https://github.com/MATPOWER/mp-opt-model/blob/master/CHANGES.md
37+
[2]: https://github.com/MATPOWER/mp-opt-model/blob/master/docs/MP-Opt-Model-manual.pdf

docs/src/MP-Opt-Model-manual/MP-Opt-Model-manual.tex

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,13 @@
144144
\newcommand{\mipsurl}[0]{https://github.com/MATPOWER/mips}
145145
\newcommand{\mipslink}[0]{\href{\mipsurl}{\mips{}}}
146146
\newcommand{\mipsname}[0]{{{\bf M}{\sc atpower} \textbf{I}nterior \textbf{P}oint \textbf{S}olver}}
147-
\newcommand{\mipsver}[0]{1.3.1+}
147+
\newcommand{\mipsver}[0]{1.3.1}
148148
\newcommand{\mpom}[0]{\mbox{MP-Opt-Model}}
149149
\newcommand{\mpomurl}[0]{https://github.com/MATPOWER/mp-opt-model}
150150
\newcommand{\mpomlink}[0]{\href{\mpomurl}{\mpom{}}}
151151
\newcommand{\mpomname}[0]{\mpom{}}
152152
% \newcommand{\mpomname}[0]{{{\bf M}{\sc at}{\bf P}{\sc ower} \textbf{Opt}imization \textbf{Model}}}
153-
\newcommand{\mpomver}[0]{2.1-dev}
153+
\newcommand{\mpomver}[0]{2.1}
154154
\newcommand{\most}[0]{{MOST}}
155155
\newcommand{\mostname}[0]{{{\bf M}{\sc atpower} \textbf{O}ptimal \textbf{S}cheduling \textbf{T}ool}}
156156
\newcommand{\mosturl}[0]{https://github.com/MATPOWER/most}
@@ -237,7 +237,7 @@
237237
%\title{\hl{--- DRAFT ---}\\\hl{\em do not distribute}\\~\\{\huge \bfseries \mpomname{} User's Manual } \\ ~ \\ \LARGE Version \mpomver{}\\
238238
\title{{\huge \bfseries \mpomname{} User's Manual } \\ ~ \\ \LARGE Version \mpomver{}}
239239
\author{Ray~D.~Zimmerman}
240-
%\date{July 8, 2020} % comment this line to display the current date
240+
\date{August 25, 2020} % comment this line to display the current date
241241
%\date{May 8, 2020\thanks{Second revision. First revision was April 29, 2020}} % comment this line to display the current date
242242

243243
%%% BEGIN DOCUMENT
@@ -322,12 +322,12 @@ \subsection{License and Terms of Use}
322322
\subsection{Citing \mpom{}}
323323

324324
We request that publications derived from the use of \mpom{} explicitly acknowledge that fact by citing the \mpomname{} User's Manual~\cite{mpom_manual}.
325-
The citation and DOI can be version-specific or general, as appropriate. For version 2.0, use:
325+
The citation and DOI can be version-specific or general, as appropriate. For version 2.1, use:
326326

327327
\begin{quote}
328328
\footnotesize
329-
R.~D. Zimmerman. \mpomname{} User's Manual, Verision 2.0. 2020. [Online]. Available: \url{https://matpower.org/docs/MP-Opt-Model-manual-2.0.pdf}\\
330-
\doi{10.5281/zenodo.3935928}
329+
R.~D. Zimmerman. \mpomname{} User's Manual, Verision 2.1. 2020. [Online]. Available: \url{https://matpower.org/docs/MP-Opt-Model-manual-2.1.pdf}\\
330+
\doi{10.5281/zenodo.4001106}
331331
\end{quote}
332332
For a version non-specific citation, use the following citation and DOI,
333333
with \emph{\textless{}YEAR\textgreater{}} replaced by the year of the most recent release:
@@ -401,18 +401,18 @@ \subsection{Installation}
401401
>> test_mp_opt_model
402402
t_nested_struct_copy....ok
403403
t_have_fcn..............ok
404-
t_nleqs_master..........ok (20 of 120 skipped)
404+
t_nleqs_master..........ok (30 of 150 skipped)
405405
t_qps_master............ok (100 of 396 skipped)
406406
t_miqps_master..........ok (68 of 288 skipped)
407407
t_nlps_master...........ok
408408
t_opt_model.............ok
409409
t_om_solve_leqs.........ok
410-
t_om_solve_nleqs........ok (24 of 136 skipped)
410+
t_om_solve_nleqs........ok (36 of 170 skipped)
411411
t_om_solve_qps..........ok (79 of 319 skipped)
412412
t_om_solve_miqps........ok (12 of 72 skipped)
413413
t_om_solve_nlps.........ok
414-
All tests successful (2671 passed, 303 skipped of 2974)
415-
Elapsed time 2.84 seconds.
414+
All tests successful (2713 passed, 325 skipped of 3038)
415+
Elapsed time 3.29 seconds.
416416
\end{Code}
417417
\end{enumerate}
418418

@@ -3135,8 +3135,8 @@ \subsubsection*{Other Changes}
31353135

31363136
\end{itemize}
31373137

3138-
3139-
\subsection{Version 2.1 -- released ??? ?, 202?}
3138+
\clearpage
3139+
\subsection{Version 2.1 -- released Aug 25, 2020}
31403140
\label{app:v21}
31413141

31423142
The \href{https://matpower.org/docs/MP-Opt-Model-manual-2.1.pdf}{\mpom{} 2.1 User's Manual} is available online.\footnote{\url{https://matpower.org/docs/MP-Opt-Model-manual-2.1.pdf}}

lib/Contents.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
% MP-Opt-Model
2-
% Version 2.0 08-Jul-2020
2+
% Version 2.1 25-Aug-2020
33
%
44
% MP-Opt-Model is a package of MATLAB/Octave M-files for constructing
55
% and solving mathematical optimization problems. It provides an

lib/mpomver.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
% See https://github.com/MATPOWER/mp-opt-model for more info.
1818

1919
v = struct( 'Name', 'MP-Opt-Model', ...
20-
'Version', '2.1-dev', ...
20+
'Version', '2.1', ...
2121
'Release', '', ...
2222
'Date', '25-Aug-2020' );
2323
if nargout > 0

0 commit comments

Comments
 (0)