chiark / gitweb /
nlopt.git
5 years agoMerge branch 'master' of git://github.com/stevengj/nlopt
Steven G. Johnson [Thu, 26 Jul 2018 15:47:40 +0000 (11:47 -0400)]
Merge branch 'master' of git://github.com/stevengj/nlopt

5 years agofix deprecations for recent Octave versions
Steven G. Johnson [Thu, 26 Jul 2018 15:47:32 +0000 (11:47 -0400)]
fix deprecations for recent Octave versions

5 years agoFix wrong layout of references (#196)
Vladislav Sovrasov [Thu, 26 Jul 2018 15:45:38 +0000 (18:45 +0300)]
Fix wrong layout of references (#196)

5 years agoignore .vscode in git
Steven G. Johnson [Thu, 26 Jul 2018 15:32:32 +0000 (11:32 -0400)]
ignore .vscode in git

5 years agountabify source files, make indenting more uniform with GNU indent -kr --no-tabs...
Steven G. Johnson [Thu, 26 Jul 2018 15:31:41 +0000 (11:31 -0400)]
untabify source files, make indenting more uniform with GNU indent -kr --no-tabs -l200

5 years agofix numevals counter in orig_direct
Steven G. Johnson [Thu, 26 Jul 2018 15:03:32 +0000 (11:03 -0400)]
fix numevals counter in orig_direct

5 years agoadd missing README and COPYRIGHT files from #194
Steven G. Johnson [Thu, 26 Jul 2018 14:39:50 +0000 (10:39 -0400)]
add missing README and COPYRIGHT files from #194

5 years agoAdd AGS global solver (#194)
Vladislav Sovrasov [Thu, 26 Jul 2018 14:34:05 +0000 (17:34 +0300)]
Add AGS global solver  (#194)

* Rely on ciso646 and __cplusplus macro when detecting cxx

* Add CXX11 flag to cmake

* Add a stub for AGS algrithm

* Finish basic integration of AGS

* Clenup ags header, change cmake for test

* AGS: add stop by reaching required value

* AGS: add stop by timer

* AGS: add correct return code for max_time stop

* AGS: stop instead of throwing an exception

* Get rid of unused code

* AGS: use NLOPT_CXX11 macro

* AGS: updated documentation

* AGS: fix wrong ifdef

* AGS: use spaces rather than tabs

* AGS: fix enum name

* AGS: fix wrong calculation of constraints

* AGS: add an example of problem with nonlinear constraints

* AGS: update docs

* Fix minor issues

* AGS: allow up to 10 dimenstions instead of 5

* AGS: fix warnings

* AGS: fix zero evaluations counter, set default maxeval

* AGS: fix generation of test suite

5 years agoReset numevals
Julien Schueller [Fri, 22 Jun 2018 13:56:12 +0000 (15:56 +0200)]
Reset numevals

5 years agoRemove set_numevals method
Julien Schueller [Fri, 22 Jun 2018 13:39:52 +0000 (15:39 +0200)]
Remove set_numevals method

5 years agoOctave: Use feval instead of do_multi_index_op.
Atri Bhattacharya [Sat, 2 Jun 2018 14:36:46 +0000 (16:36 +0200)]
Octave: Use feval instead of do_multi_index_op.

do_multi_index_op has been dropped from Octave 4.4, with a call to
octave::feval being the recommended replacement. See, e.g.
https://hg.savannah.gnu.org/hgweb/octave/rev/c6714ae1c06c

5 years agoUse OCTAVE_HOME to determine octave root dir.
Atri Bhattacharya [Sat, 2 Jun 2018 14:17:56 +0000 (16:17 +0200)]
Use OCTAVE_HOME to determine octave root dir.

The keyword PREFIX is no longer supported by octave-config and
OCTAVE_HOME is to be used in its stead. See
https://hg.savannah.gnu.org/hgweb/octave/rev/b95c430c0649

5 years agoAdd virtual destructor to class Global (in algs/stogo/) (#186)
Dave Trussel [Tue, 29 May 2018 06:44:47 +0000 (08:44 +0200)]
Add virtual destructor to class Global (in algs/stogo/) (#186)

Add virtual destructor to class Global, because it has virtual functions.

6 years agoDocs: Refined syntax highlighting and fixed c++
Alex St [Tue, 3 Apr 2018 14:35:37 +0000 (16:35 +0200)]
Docs: Refined syntax highlighting and fixed c++

I specified the language on each relevant code example, so the proper syntax highlighting should be used.

Also I fixed the C++ part, where every angle bracket was escaped with additional quotation marks and thus hiding some relevant information in the online docs.

Also I added a C++ output functionality with `std::setprecision` (from the include `iomanip`) which behaves equivalent to the printf from the C\C++ part.

6 years ago[Travis] homebrew/science is deprecated
Julien Schueller [Tue, 3 Apr 2018 14:49:09 +0000 (16:49 +0200)]
[Travis] homebrew/science is deprecated

6 years ago[Travis] Disable matlab explicitely
Julien Schueller [Thu, 14 Dec 2017 12:15:38 +0000 (13:15 +0100)]
[Travis] Disable matlab explicitely

6 years agoLower cmake requirement to 2.8.11
Julien Schueller [Thu, 14 Dec 2017 10:46:11 +0000 (11:46 +0100)]
Lower cmake requirement to 2.8.11

Was set to 3.0 by #108 altough target_include_directories existed earlier:
https://cmake.org/cmake/help/v2.8.11/cmake.html

6 years agotypo (fixes #166)
Steven G. Johnson [Mon, 11 Dec 2017 22:35:31 +0000 (17:35 -0500)]
typo (fixes #166)

6 years agoSimplify swig cmake logic (#162)
Julien Schueller [Tue, 28 Nov 2017 16:45:57 +0000 (17:45 +0100)]
Simplify swig cmake logic (#162)

6 years agoFix stogo sources location
Julien Schueller [Wed, 15 Nov 2017 13:42:41 +0000 (14:42 +0100)]
Fix stogo sources location

6 years agorecommend building in a subdirectory in the manual
Steven G. Johnson [Tue, 14 Nov 2017 18:40:57 +0000 (13:40 -0500)]
recommend building in a subdirectory in the manual

6 years agoput source code into src subdirectory
Steven G. Johnson [Tue, 14 Nov 2017 18:36:08 +0000 (13:36 -0500)]
put source code into src subdirectory

6 years agorecommend building in a subdir
Steven G. Johnson [Tue, 14 Nov 2017 18:09:13 +0000 (13:09 -0500)]
recommend building in a subdir

6 years agofix #114: crash with empty dimensions in ISRES
Steven G. Johnson [Tue, 14 Nov 2017 18:02:29 +0000 (13:02 -0500)]
fix #114: crash with empty dimensions in ISRES

6 years agofixes for guile 2
Steven G. Johnson [Tue, 14 Nov 2017 17:40:38 +0000 (12:40 -0500)]
fixes for guile 2

6 years agoAdd nlopt_get_numevals (#160)
Julien Schueller [Tue, 14 Nov 2017 17:16:49 +0000 (18:16 +0100)]
Add nlopt_get_numevals (#160)

* Add nlopt_get_numevals

We reuse stop.nevals which becomes stop.nevals_p, a pointer to opt.numevals, an int that we can return to the user.

* Add doc

6 years ago[pkgconfig] Mark libm as private (#156)
Julien Schueller [Sat, 21 Oct 2017 17:49:57 +0000 (19:49 +0200)]
[pkgconfig] Mark libm as private (#156)

6 years agoFix spelling (#155)
Julien Schueller [Sat, 21 Oct 2017 02:04:52 +0000 (04:04 +0200)]
Fix spelling (#155)

6 years agoRequire Matlab MX_LIBRARY component (#154)
Julien Schueller [Tue, 17 Oct 2017 14:03:20 +0000 (16:03 +0200)]
Require Matlab MX_LIBRARY component (#154)

6 years agoUse PROJECT_SOURCE_DIR in test/CMakeLists
Julien Schueller [Tue, 17 Oct 2017 13:16:36 +0000 (15:16 +0200)]
Use PROJECT_SOURCE_DIR in test/CMakeLists

6 years agoFix Travis CI macOS build failure
Julien Schueller [Sat, 14 Oct 2017 14:40:19 +0000 (16:40 +0200)]
Fix Travis CI macOS build failure

6 years agofix code formatting for including headers (#153)
Alex Ling [Sat, 14 Oct 2017 14:37:58 +0000 (22:37 +0800)]
fix code formatting for including headers (#153)

Fix code formatting for including headers

6 years agofix doc badge URL
Steven G. Johnson [Fri, 29 Sep 2017 14:23:01 +0000 (10:23 -0400)]
fix doc badge URL

6 years agoPrefix cmake options (#149)
Julien Schueller [Mon, 25 Sep 2017 09:04:00 +0000 (11:04 +0200)]
Prefix cmake options (#149)

NLopt is used as a git submodule, this allows not to confuse options of the parent project.

6 years agoChange install destination for headers to relative path (#150)
Markus Rickert [Mon, 25 Sep 2017 07:02:53 +0000 (00:02 -0700)]
Change install destination for headers to relative path (#150)

6 years agoUse Unix eols instead of CRLFs (#148)
Julien Schueller [Mon, 18 Sep 2017 07:40:22 +0000 (09:40 +0200)]
Use Unix eols instead of CRLFs (#148)

6 years agoMerge pull request #146 from roboticslibrary/patch-pdb-install
Julien Schueller [Tue, 12 Sep 2017 12:11:58 +0000 (14:11 +0200)]
Merge pull request #146 from roboticslibrary/patch-pdb-install

Install PDB file with debug information when using Visual Studio

6 years agoInstall PDB file with debug information when using Visual Studio
Markus Rickert [Mon, 11 Sep 2017 21:13:15 +0000 (23:13 +0200)]
Install PDB file with debug information when using Visual Studio

6 years agoCleaner way to fix ctest (#144)
Julien Schueller [Mon, 11 Sep 2017 13:12:04 +0000 (15:12 +0200)]
Cleaner way to fix ctest (#144)

6 years agotest shared libs on appveyor (#142)
Julien Schueller [Mon, 11 Sep 2017 06:50:14 +0000 (08:50 +0200)]
test shared libs on appveyor (#142)

Test shared libs on appveyor

6 years agoMerge pull request #143 from roboticslibrary/patch-targets
Julien Schueller [Mon, 11 Sep 2017 06:49:52 +0000 (08:49 +0200)]
Merge pull request #143 from roboticslibrary/patch-targets

Add namespace for CMake targets and add install include directories to target properties

6 years agoAdd install include directories to target properties
Markus Rickert [Sun, 10 Sep 2017 17:07:18 +0000 (19:07 +0200)]
Add install include directories to target properties

6 years agoAdd namespace to exported CMake targets
Markus Rickert [Sun, 10 Sep 2017 16:55:25 +0000 (18:55 +0200)]
Add namespace to exported CMake targets

6 years agoMerge pull request #137 from jschueller/bounds
Julien Schueller [Sun, 10 Sep 2017 07:40:15 +0000 (09:40 +0200)]
Merge pull request #137 from jschueller/bounds

Fix get|set lower|upper bounds methods warnings

6 years agoFix set lower|upper bounds methods
Julien Schueller [Thu, 24 Aug 2017 17:14:22 +0000 (19:14 +0200)]
Fix set lower|upper bounds methods

6 years agoMerge pull request #139 from jschueller/doc
Julien Schueller [Sun, 10 Sep 2017 07:10:53 +0000 (09:10 +0200)]
Merge pull request #139 from jschueller/doc

Update doc

6 years agoFix dllexport and dllimport for Windows (#140)
Markus Rickert [Sun, 10 Sep 2017 02:16:02 +0000 (04:16 +0200)]
Fix dllexport and dllimport for Windows (#140)

6 years agoUse trusty
Julien Schueller [Sat, 9 Sep 2017 12:14:19 +0000 (14:14 +0200)]
Use trusty

6 years agoTry build doc on Travis
Julien Schueller [Sat, 9 Sep 2017 12:09:58 +0000 (14:09 +0200)]
Try build doc on Travis

6 years agoUpdate matlab install doc
Julien Schueller [Sat, 9 Sep 2017 11:56:46 +0000 (13:56 +0200)]
Update matlab install doc

6 years agoAdd installation rule for matlab
Julien Schueller [Sat, 9 Sep 2017 11:47:52 +0000 (13:47 +0200)]
Add installation rule for matlab

6 years agoUpdate documentation with cmake instructions
Julien Schueller [Sun, 27 Aug 2017 12:07:24 +0000 (14:07 +0200)]
Update documentation with cmake instructions

6 years agoUpdate the Python example for py3k compatibility
Julien Schueller [Sun, 27 Aug 2017 11:34:49 +0000 (13:34 +0200)]
Update the Python example for py3k compatibility

6 years agoMerge pull request #134 from jschueller/uninitialized
Julien Schueller [Thu, 24 Aug 2017 13:39:58 +0000 (15:39 +0200)]
Merge pull request #134 from jschueller/uninitialized

Fix all uninitialized variable warnings

6 years agoMerge pull request #136 from jschueller/testopt
Julien Schueller [Thu, 24 Aug 2017 13:36:59 +0000 (15:36 +0200)]
Merge pull request #136 from jschueller/testopt

Enhance testopt following #85

6 years agoavoid initializing global variable with HUGE_VAL
Julien Schueller [Thu, 24 Aug 2017 08:38:35 +0000 (10:38 +0200)]
avoid initializing global variable with HUGE_VAL

6 years agorelax floating point comparison, missing free
Julien Schueller [Thu, 24 Aug 2017 08:36:57 +0000 (10:36 +0200)]
relax floating point comparison, missing free

6 years agorenamed to testopt.c, add nlopt-getopt.c dependency
Amro [Mon, 5 Sep 2016 11:54:58 +0000 (14:54 +0300)]
renamed to testopt.c, add nlopt-getopt.c dependency

6 years agorename files from C++ to C
Amro [Fri, 29 Jul 2016 18:18:23 +0000 (21:18 +0300)]
rename files from C++ to C

6 years agomove getopt implementation to separate files
Amro [Fri, 29 Jul 2016 17:37:35 +0000 (20:37 +0300)]
move getopt implementation to separate files

6 years agoMerge pull request #135 from jschueller/swig_add_module
Julien Schueller [Thu, 24 Aug 2017 06:42:45 +0000 (08:42 +0200)]
Merge pull request #135 from jschueller/swig_add_module

Use swig_add_library with cmake 3.8

6 years agoUse swig_add_library with cmake 3.8
Julien Schueller [Wed, 23 Aug 2017 19:52:44 +0000 (21:52 +0200)]
Use swig_add_library with cmake 3.8

6 years agoFix all uninitialized variable warnings
Julien Schueller [Wed, 23 Aug 2017 19:46:11 +0000 (21:46 +0200)]
Fix all uninitialized variable warnings

Every variables that yields a -Wmaybe-uninitialized gcc warning is set to 0

Fixes #133

6 years agoMerge pull request #108 from jdumas/master
Julien Schueller [Sat, 5 Aug 2017 06:47:03 +0000 (08:47 +0200)]
Merge pull request #108 from jdumas/master

Prefer target_include_directories in CMake build script

6 years agofix compilation problem with MSVC (#131)
Steven G. Johnson [Fri, 28 Jul 2017 19:48:08 +0000 (15:48 -0400)]
fix compilation problem with MSVC (#131)

* fix for #51

This pragma fixes a known problem compiling with VS2013 or VS2015 in Release.
See issue #51 for more info.

* The fix fod Visual Studio starts from version 2013 onwards.

This has not been fixed for VS2015, so we keep the macro guard open for future versions of VS.
The vectorization of this loop is not that important anyways.
See #51.

6 years agoadd readthedocs badge
Steven G. Johnson [Fri, 28 Jul 2017 01:30:15 +0000 (21:30 -0400)]
add readthedocs badge

6 years agoRead the docs (#132)
Homer Reid [Fri, 28 Jul 2017 01:24:22 +0000 (21:24 -0400)]
Read the docs (#132)

* added mkdocs-style documentation tree in doc

* added documentation tree converted from ab-initio wiki pages

6 years agoignore macos .DS_Store file
Steven G. Johnson [Wed, 26 Jul 2017 17:17:51 +0000 (13:17 -0400)]
ignore macos .DS_Store file

6 years agoMerge pull request #128 from m-chaturvedi/fixing_integer_overflow
Steven G. Johnson [Mon, 17 Jul 2017 16:47:23 +0000 (12:47 -0400)]
Merge pull request #128 from m-chaturvedi/fixing_integer_overflow

Fixing Integer Overflow in nlopt_srand_time

6 years agoFixing Integer Overflow in nlopt_srand_time
Mmanu Chaturvedi [Mon, 17 Jul 2017 15:38:30 +0000 (11:38 -0400)]
Fixing Integer Overflow in nlopt_srand_time

6 years agoUpdate README.md (#124)
Sergey Khrykov [Fri, 9 Jun 2017 13:29:37 +0000 (16:29 +0300)]
Update README.md (#124)

7 years agoSeems that 'target_include_directories' is not enough for SWIG.
Jérémie Dumas [Mon, 20 Mar 2017 23:15:27 +0000 (19:15 -0400)]
Seems that 'target_include_directories' is not enough for SWIG.

7 years agoUpdate .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 13:56:14 +0000 (14:56 +0100)]
Update .travis.yml

7 years agoUpdate CMakeLists.txt
Jérémie Dumas [Wed, 11 Jan 2017 13:49:32 +0000 (14:49 +0100)]
Update CMakeLists.txt

7 years agoUpdate .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 08:42:11 +0000 (09:42 +0100)]
Update .travis.yml

7 years agoPrefer target_include_directories in CMake build script
Jérémie Dumas [Tue, 22 Nov 2016 12:23:44 +0000 (13:23 +0100)]
Prefer target_include_directories in CMake build script

7 years agoMerge pull request #116 from jschueller/guile
Julien Schueller [Tue, 21 Mar 2017 08:01:23 +0000 (09:01 +0100)]
Merge pull request #116 from jschueller/guile

Do not install guile 2.2 until supported in swig

7 years agoDo not install guile 2.2 until supported in swig
Julien Schueller [Tue, 21 Mar 2017 07:25:19 +0000 (08:25 +0100)]
Do not install guile 2.2 until supported in swig

7 years agoMerge pull request #107 from jschueller/project-dirs
Steven G. Johnson [Mon, 21 Nov 2016 18:27:37 +0000 (13:27 -0500)]
Merge pull request #107 from jschueller/project-dirs

Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...

7 years agoUse PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...
Julien Schueller [Mon, 21 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...

7 years agoMerge pull request #105 from jschueller/appveyor-tests
Steven G. Johnson [Tue, 8 Nov 2016 15:21:10 +0000 (10:21 -0500)]
Merge pull request #105 from jschueller/appveyor-tests

Useless make tests in appveyor

7 years agoUseless make tests in appveyor
Julien Schueller [Tue, 8 Nov 2016 10:07:35 +0000 (11:07 +0100)]
Useless make tests in appveyor

7 years agoMerge pull request #103 from jschueller/cmake-make-ctest
Julien Schueller [Fri, 4 Nov 2016 15:59:10 +0000 (16:59 +0100)]
Merge pull request #103 from jschueller/cmake-make-ctest

Support cmake && make && ctest

7 years agoSupport cmake && make && ctest
Julien Schueller [Fri, 4 Nov 2016 15:30:04 +0000 (16:30 +0100)]
Support cmake && make && ctest

7 years agoMerge pull request #102 from jschueller/libm
Julien Schueller [Fri, 4 Nov 2016 13:13:53 +0000 (14:13 +0100)]
Merge pull request #102 from jschueller/libm

Detect libm

7 years agoMerge pull request #101 from jschueller/cxx-compiler
Julien Schueller [Fri, 4 Nov 2016 13:13:46 +0000 (14:13 +0100)]
Merge pull request #101 from jschueller/cxx-compiler

Detect CXX compiler by default

7 years agoDetect libm
Julien Schueller [Fri, 4 Nov 2016 08:55:31 +0000 (09:55 +0100)]
Detect libm

7 years agoDetect CXX compiler by default
Julien Schueller [Fri, 4 Nov 2016 08:47:09 +0000 (09:47 +0100)]
Detect CXX compiler by default

7 years agoMerge pull request #96 from jschueller/octave-site-dir
Steven G. Johnson [Wed, 2 Nov 2016 14:31:09 +0000 (10:31 -0400)]
Merge pull request #96 from jschueller/octave-site-dir

Allow to modify Python & octave site dir

7 years agoMerge pull request #97 from jschueller/octave-install
Steven G. Johnson [Wed, 2 Nov 2016 14:30:23 +0000 (10:30 -0400)]
Merge pull request #97 from jschueller/octave-install

Do not install nlopt_optimize.m

7 years agoDo not install nlopt_optimize.m
Julien Schueller [Wed, 2 Nov 2016 08:12:11 +0000 (09:12 +0100)]
Do not install nlopt_optimize.m

7 years agoAllow to modify Python & octave site dir
Julien Schueller [Fri, 28 Oct 2016 11:16:57 +0000 (13:16 +0200)]
Allow to modify Python & octave site dir

7 years agoMerge pull request #93 from jschueller/libcpp
Steven G. Johnson [Thu, 27 Oct 2016 19:24:32 +0000 (15:24 -0400)]
Merge pull request #93 from jschueller/libcpp

Detect libcpp

7 years agoMerge pull request #94 from jschueller/config
Steven G. Johnson [Thu, 27 Oct 2016 14:07:47 +0000 (10:07 -0400)]
Merge pull request #94 from jschueller/config

Rename config.h to nlopt_config.h

7 years agoDetect libcpp
Julien Schueller [Thu, 27 Oct 2016 08:29:05 +0000 (10:29 +0200)]
Detect libcpp

7 years agoRename config.h to nlopt_config.h
Julien Schueller [Thu, 27 Oct 2016 09:10:02 +0000 (11:10 +0200)]
Rename config.h to nlopt_config.h

7 years agoMerge pull request #91 from jschueller/unitialized_value
Julien Schueller [Wed, 26 Oct 2016 08:25:25 +0000 (10:25 +0200)]
Merge pull request #91 from jschueller/unitialized_value

Avoid uninitialized values in nlopt_create

7 years agoAvoid uninitialized values in nlopt_create
Julien Schueller [Wed, 26 Oct 2016 08:00:51 +0000 (10:00 +0200)]
Avoid uninitialized values in nlopt_create

7 years agoMerge pull request #90 from jschueller/travis
Julien Schueller [Wed, 26 Oct 2016 07:03:06 +0000 (09:03 +0200)]
Merge pull request #90 from jschueller/travis

Fix OSX build on new image

7 years agoUse default Python
Julien Schueller [Tue, 25 Oct 2016 16:20:11 +0000 (18:20 +0200)]
Use default Python