-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nlopt auglag + missing serialization #75
Conversation
bluescarni
commented
Apr 10, 2017
- the replacement bugifx.
…only if it is "better" than the original one. This gets rid of a reinsertion issue when the NLopt algo stops immediately (in such a case, fitness would have been set to inf previously).
pygmo/docstrings.cpp
Outdated
return R"(Local optimizer. | ||
|
||
Some NLopt algorithms rely on other NLopt algorithms as local/subsidiary optimizers. | ||
This property, of type :class:`~pygmo.core.nlopt`, allows to set such local optimizer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed all the .core yesterday, it in the response to #34. For the fufture, do not use it. I will merge this and fix it on my coming PR
@@ -26,14 +26,22 @@ You should have received copies of the GNU General Public License and the | |||
GNU Lesser General Public License along with the PaGMO library. If not, | |||
see https://www.gnu.org/licenses/. */ | |||
|
|||
#if defined(_MSC_VER) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be helpful to have some comments when you add these defines as to remember why they are there in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
pygmo/docstrings.cpp
Outdated
@@ -3618,7 +3618,8 @@ NLopt algorithms is: | |||
* SLSQP, | |||
* low-storage BFGS, | |||
* preconditioned truncated Newton, | |||
* shifted limited-memory variable-metric. | |||
* shifted limited-memory variable-metric, | |||
* augmented Lagrangian algorithm. | |||
|
|||
The desired NLopt solver is selected upon construction of an :class:`~pygmo.core.nlopt` algorithm. Various properties |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.core (see below)
pygmo/docstrings.cpp
Outdated
the local optimizer is also forcibly set to zero during the optimisation. | ||
|
||
Returns: | ||
:class:`~pygmo.core.nlopt`: the local optimizer, or ``None`` if not set |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.core (see above)
[skip appveyor]
[skip ci]