Skip to content
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

Merged
merged 23 commits into from
Apr 12, 2017
Merged

Conversation

bluescarni
Copy link
Member

  • the replacement bugifx.

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.
Copy link
Member

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)
Copy link
Member

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.core (see below)

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.core (see above)

@bluescarni bluescarni mentioned this pull request Apr 11, 2017
6 tasks
@darioizzo darioizzo mentioned this pull request Apr 12, 2017
7 tasks
@bluescarni bluescarni merged commit eece215 into esa:master Apr 12, 2017
@bluescarni bluescarni deleted the nlopt_auglag branch April 12, 2017 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants