Skip to content

Commit

Permalink
Address further reviewer comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
markusgft committed Oct 8, 2024
1 parent fdbb38d commit 5ddc1dd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
15 changes: 7 additions & 8 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,19 @@ information of these packages.

The compiled NLopt library, i.e. the combined work of all of the
included optimization routines, is licensed under the conjunction of
all of these licensing terms. Currently, the most restrictive terms
all of these licensing terms. By default, the most restrictive terms
are for the code in the "luksan" directory, which is licensed under
the GNU Lesser General Public License (GNU LGPL), version 2.1 or
later (see luksan/COPYRIGHT).

That means that the compiled NLopt library is governed by the terms of
the LGPL.
later (see luksan/COPYRIGHT). That means that, by default, the compiled
NLopt library is governed by the terms of the LGPL.

---------------------------------------------------------------------------

Other portions of NLopt, including any modifications to the abovementioned
packages, are licensed under the standard "MIT License:"
However, NLopt also offers the option to be built without the code in
the "luksan" directory. In this case, NLopt, including any modifications
to the abovementioned packages, are licensed under the standard "MIT License:"

Copyright (c) 2007-2011 Massachusetts Institute of Technology
Copyright (c) 2007-2024 Massachusetts Institute of Technology

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ NLopt is compiled and installed with the [CMake](https://cmake.org/) build syste
make
sudo make install

(To build the latest development sources from git, you will need [SWIG](http://www.swig.org/)
to generate the Python and Guile bindings.)
To build NLopt as fully permissive library without LGPL-licensed "luksan" solvers, use `cmake -DNLOPT_WITH_LUKSAN=OFF ..`

To build the latest development sources from git, you will need [SWIG](http://www.swig.org/)
to generate the Python and Guile bindings.

Once it is installed, `#include <nlopt.h>` in your C/C++ programs and
link it with `-lnlopt -lm`. You may need to use a C++ compiler to link
Expand Down

0 comments on commit 5ddc1dd

Please sign in to comment.