chiark / gitweb /
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
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
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.
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.
Julien Schueller [Tue, 3 Apr 2018 14:49:09 +0000 (16:49 +0200)]
[Travis] homebrew/science is deprecated
Julien Schueller [Thu, 14 Dec 2017 12:15:38 +0000 (13:15 +0100)]
[Travis] Disable matlab explicitely
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
Steven G. Johnson [Mon, 11 Dec 2017 22:35:31 +0000 (17:35 -0500)]
typo (fixes #166)
Julien Schueller [Tue, 28 Nov 2017 16:45:57 +0000 (17:45 +0100)]
Simplify swig cmake logic (#162)
Julien Schueller [Wed, 15 Nov 2017 13:42:41 +0000 (14:42 +0100)]
Fix stogo sources location
Steven G. Johnson [Tue, 14 Nov 2017 18:40:57 +0000 (13:40 -0500)]
recommend building in a subdirectory in the manual
Steven G. Johnson [Tue, 14 Nov 2017 18:36:08 +0000 (13:36 -0500)]
put source code into src subdirectory
Steven G. Johnson [Tue, 14 Nov 2017 18:09:13 +0000 (13:09 -0500)]
recommend building in a subdir
Steven G. Johnson [Tue, 14 Nov 2017 18:02:29 +0000 (13:02 -0500)]
fix #114: crash with empty dimensions in ISRES
Steven G. Johnson [Tue, 14 Nov 2017 17:40:38 +0000 (12:40 -0500)]
fixes for guile 2
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
Julien Schueller [Sat, 21 Oct 2017 17:49:57 +0000 (19:49 +0200)]
[pkgconfig] Mark libm as private (#156)
Julien Schueller [Sat, 21 Oct 2017 02:04:52 +0000 (04:04 +0200)]
Fix spelling (#155)
Julien Schueller [Tue, 17 Oct 2017 14:03:20 +0000 (16:03 +0200)]
Require Matlab MX_LIBRARY component (#154)
Julien Schueller [Tue, 17 Oct 2017 13:16:36 +0000 (15:16 +0200)]
Use PROJECT_SOURCE_DIR in test/CMakeLists
Julien Schueller [Sat, 14 Oct 2017 14:40:19 +0000 (16:40 +0200)]
Fix Travis CI macOS build failure
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
Steven G. Johnson [Fri, 29 Sep 2017 14:23:01 +0000 (10:23 -0400)]
fix doc badge URL
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.
Markus Rickert [Mon, 25 Sep 2017 07:02:53 +0000 (00:02 -0700)]
Change install destination for headers to relative path (#150)
Julien Schueller [Mon, 18 Sep 2017 07:40:22 +0000 (09:40 +0200)]
Use Unix eols instead of CRLFs (#148)
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
Markus Rickert [Mon, 11 Sep 2017 21:13:15 +0000 (23:13 +0200)]
Install PDB file with debug information when using Visual Studio
Julien Schueller [Mon, 11 Sep 2017 13:12:04 +0000 (15:12 +0200)]
Cleaner way to fix ctest (#144)
Julien Schueller [Mon, 11 Sep 2017 06:50:14 +0000 (08:50 +0200)]
test shared libs on appveyor (#142)
Test shared libs on appveyor
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
Markus Rickert [Sun, 10 Sep 2017 17:07:18 +0000 (19:07 +0200)]
Add install include directories to target properties
Markus Rickert [Sun, 10 Sep 2017 16:55:25 +0000 (18:55 +0200)]
Add namespace to exported CMake targets
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
Julien Schueller [Thu, 24 Aug 2017 17:14:22 +0000 (19:14 +0200)]
Fix set lower|upper bounds methods
Julien Schueller [Sun, 10 Sep 2017 07:10:53 +0000 (09:10 +0200)]
Merge pull request #139 from jschueller/doc
Update doc
Markus Rickert [Sun, 10 Sep 2017 02:16:02 +0000 (04:16 +0200)]
Fix dllexport and dllimport for Windows (#140)
Julien Schueller [Sat, 9 Sep 2017 12:14:19 +0000 (14:14 +0200)]
Use trusty
Julien Schueller [Sat, 9 Sep 2017 12:09:58 +0000 (14:09 +0200)]
Try build doc on Travis
Julien Schueller [Sat, 9 Sep 2017 11:56:46 +0000 (13:56 +0200)]
Update matlab install doc
Julien Schueller [Sat, 9 Sep 2017 11:47:52 +0000 (13:47 +0200)]
Add installation rule for matlab
Julien Schueller [Sun, 27 Aug 2017 12:07:24 +0000 (14:07 +0200)]
Update documentation with cmake instructions
Julien Schueller [Sun, 27 Aug 2017 11:34:49 +0000 (13:34 +0200)]
Update the Python example for py3k compatibility
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
Julien Schueller [Thu, 24 Aug 2017 13:36:59 +0000 (15:36 +0200)]
Merge pull request #136 from jschueller/testopt
Enhance testopt following #85
Julien Schueller [Thu, 24 Aug 2017 08:38:35 +0000 (10:38 +0200)]
avoid initializing global variable with HUGE_VAL
Julien Schueller [Thu, 24 Aug 2017 08:36:57 +0000 (10:36 +0200)]
relax floating point comparison, missing free
Amro [Mon, 5 Sep 2016 11:54:58 +0000 (14:54 +0300)]
renamed to testopt.c, add nlopt-getopt.c dependency
Amro [Fri, 29 Jul 2016 18:18:23 +0000 (21:18 +0300)]
rename files from C++ to C
Amro [Fri, 29 Jul 2016 17:37:35 +0000 (20:37 +0300)]
move getopt implementation to separate files
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
Julien Schueller [Wed, 23 Aug 2017 19:52:44 +0000 (21:52 +0200)]
Use swig_add_library with cmake 3.8
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
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
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.
Steven G. Johnson [Fri, 28 Jul 2017 01:30:15 +0000 (21:30 -0400)]
add readthedocs badge
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
Steven G. Johnson [Wed, 26 Jul 2017 17:17:51 +0000 (13:17 -0400)]
ignore macos .DS_Store file
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
Mmanu Chaturvedi [Mon, 17 Jul 2017 15:38:30 +0000 (11:38 -0400)]
Fixing Integer Overflow in nlopt_srand_time
Sergey Khrykov [Fri, 9 Jun 2017 13:29:37 +0000 (16:29 +0300)]
Update README.md (#124)
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.
Jérémie Dumas [Wed, 11 Jan 2017 13:56:14 +0000 (14:56 +0100)]
Update .travis.yml
Jérémie Dumas [Wed, 11 Jan 2017 13:49:32 +0000 (14:49 +0100)]
Update CMakeLists.txt
Jérémie Dumas [Wed, 11 Jan 2017 08:42:11 +0000 (09:42 +0100)]
Update .travis.yml
Jérémie Dumas [Tue, 22 Nov 2016 12:23:44 +0000 (13:23 +0100)]
Prefer target_include_directories in CMake build script
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
Julien Schueller [Tue, 21 Mar 2017 07:25:19 +0000 (08:25 +0100)]
Do not install guile 2.2 until supported in swig
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_...
Julien Schueller [Mon, 21 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Use PROJECT_(SOURCE|BINARY)_DIR instead of CMAKE_...
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
Julien Schueller [Tue, 8 Nov 2016 10:07:35 +0000 (11:07 +0100)]
Useless make tests in appveyor
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
Julien Schueller [Fri, 4 Nov 2016 15:30:04 +0000 (16:30 +0100)]
Support cmake && make && ctest
Julien Schueller [Fri, 4 Nov 2016 13:13:53 +0000 (14:13 +0100)]
Merge pull request #102 from jschueller/libm
Detect libm
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
Julien Schueller [Fri, 4 Nov 2016 08:55:31 +0000 (09:55 +0100)]
Detect libm
Julien Schueller [Fri, 4 Nov 2016 08:47:09 +0000 (09:47 +0100)]
Detect CXX compiler by default
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
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
Julien Schueller [Wed, 2 Nov 2016 08:12:11 +0000 (09:12 +0100)]
Do not install nlopt_optimize.m
Julien Schueller [Fri, 28 Oct 2016 11:16:57 +0000 (13:16 +0200)]
Allow to modify Python & octave site dir
Steven G. Johnson [Thu, 27 Oct 2016 19:24:32 +0000 (15:24 -0400)]
Merge pull request #93 from jschueller/libcpp
Detect libcpp
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
Julien Schueller [Thu, 27 Oct 2016 08:29:05 +0000 (10:29 +0200)]
Detect libcpp
Julien Schueller [Thu, 27 Oct 2016 09:10:02 +0000 (11:10 +0200)]
Rename config.h to nlopt_config.h
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
Julien Schueller [Wed, 26 Oct 2016 08:00:51 +0000 (10:00 +0200)]
Avoid uninitialized values in nlopt_create
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
Julien Schueller [Tue, 25 Oct 2016 16:20:11 +0000 (18:20 +0200)]
Use default Python
Julien Schueller [Tue, 25 Oct 2016 15:21:25 +0000 (17:21 +0200)]
Fix clang compilation
Julien Schueller [Tue, 25 Oct 2016 14:37:18 +0000 (16:37 +0200)]
Workaround travis bug
Steven G. Johnson [Wed, 14 Sep 2016 20:17:16 +0000 (16:17 -0400)]
Merge pull request #84 from amroamroamro/patch-1
Patch 1
Amro [Fri, 29 Jul 2016 12:38:35 +0000 (15:38 +0300)]
update gitignore file
Amro [Fri, 29 Jul 2016 12:30:02 +0000 (15:30 +0300)]
alternate implementations for isinf/isfinite
Amro [Fri, 29 Jul 2016 12:23:23 +0000 (15:23 +0300)]
move definition of util functions
Amro [Tue, 13 Sep 2016 17:43:27 +0000 (20:43 +0300)]
move some util tests from comments into separate files
Amro [Sun, 11 Sep 2016 14:33:14 +0000 (17:33 +0300)]
avoid using HUGE_VAL to initialize global variable
in some older C (not C++) compilers, HUGE_VAL macro is not
always a constant expression (VS2010 is in this category)
Only C99 (section 7.12) guarantees the macro to expand
to a constant expression but not C90 (section 7.5)
Amro [Tue, 13 Sep 2016 17:58:09 +0000 (20:58 +0300)]
fix some compiler warnings
Amro [Tue, 13 Sep 2016 17:42:16 +0000 (20:42 +0300)]
minor edits
- use C-style comments /* .. */ in .c files
- trim trailing spaces and other minor style edits