chiark / gitweb /
nlopt.git
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 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

7 years agoFix clang compilation
Julien Schueller [Tue, 25 Oct 2016 15:21:25 +0000 (17:21 +0200)]
Fix clang compilation

7 years agoWorkaround travis bug
Julien Schueller [Tue, 25 Oct 2016 14:37:18 +0000 (16:37 +0200)]
Workaround travis bug

7 years agoMerge pull request #84 from amroamroamro/patch-1
Steven G. Johnson [Wed, 14 Sep 2016 20:17:16 +0000 (16:17 -0400)]
Merge pull request #84 from amroamroamro/patch-1

Patch 1

7 years agoupdate gitignore file
Amro [Fri, 29 Jul 2016 12:38:35 +0000 (15:38 +0300)]
update gitignore file

7 years agoalternate implementations for isinf/isfinite
Amro [Fri, 29 Jul 2016 12:30:02 +0000 (15:30 +0300)]
alternate implementations for isinf/isfinite

7 years agomove definition of util functions
Amro [Fri, 29 Jul 2016 12:23:23 +0000 (15:23 +0300)]
move definition of util functions

7 years agomove some util tests from comments into separate files
Amro [Tue, 13 Sep 2016 17:43:27 +0000 (20:43 +0300)]
move some util tests from comments into separate files

7 years agoavoid using HUGE_VAL to initialize global variable
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)

7 years agofix some compiler warnings
Amro [Tue, 13 Sep 2016 17:58:09 +0000 (20:58 +0300)]
fix some compiler warnings

7 years agominor edits
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

7 years agoupdate readme file
Amro [Tue, 13 Sep 2016 17:32:26 +0000 (20:32 +0300)]
update readme file

- add status badge for appveyor CI
- add some external hyperlinks
- other minor edits

7 years agoUse CMake module GNUInstallDirs to support platform-specific installation directories...
rickertm [Thu, 18 Aug 2016 12:06:31 +0000 (14:06 +0200)]
Use CMake module GNUInstallDirs to support platform-specific installation directories (#76)

Use CMake module GNUInstallDirs to support platform-specific installation directories

7 years agoDefault build (#74)
Julien Schueller [Wed, 20 Jul 2016 14:36:27 +0000 (16:36 +0200)]
Default build (#74)

* Enable Matlab by default

* Cleanup CMakeLists.txt

7 years agoMerge pull request #73 from jschueller/tests
Julien Schueller [Thu, 14 Jul 2016 09:12:12 +0000 (11:12 +0200)]
Merge pull request #73 from jschueller/tests

Update tests

7 years agoAdd matlab bindings
Julien Schueller [Thu, 14 Jul 2016 09:02:44 +0000 (11:02 +0200)]
Add matlab bindings

7 years agoSkip LN_NEWUOA_BOUND in tests
Julien Schueller [Thu, 14 Jul 2016 07:05:36 +0000 (09:05 +0200)]
Skip LN_NEWUOA_BOUND in tests

Fails randomly on msvc

7 years agoAdd guile test
Julien Schueller [Wed, 13 Jul 2016 19:22:46 +0000 (21:22 +0200)]
Add guile test

7 years agoRewrite Python test from example
Julien Schueller [Wed, 13 Jul 2016 19:14:43 +0000 (21:14 +0200)]
Rewrite Python test from example

7 years agoAdd octave test
Julien Schueller [Wed, 13 Jul 2016 16:39:22 +0000 (18:39 +0200)]
Add octave test

7 years agoMerge pull request #72 from jschueller/readme
Julien Schueller [Wed, 13 Jul 2016 19:46:41 +0000 (21:46 +0200)]
Merge pull request #72 from jschueller/readme

Readme

7 years agoFix _NOSCAL algo typos in the man (#70)
Julien Schueller [Tue, 12 Jul 2016 08:20:52 +0000 (10:20 +0200)]
Fix _NOSCAL algo typos in the man (#70)

7 years agoImproved README
Julien Schueller [Tue, 12 Jul 2016 08:13:43 +0000 (10:13 +0200)]
Improved README

7 years agoMissing installed man pages
Julien Schueller [Tue, 12 Jul 2016 08:12:16 +0000 (10:12 +0200)]
Missing installed man pages

7 years agoSwitch to cmake (#49)
Julien Schueller [Mon, 11 Jul 2016 18:22:05 +0000 (20:22 +0200)]
Switch to cmake (#49)

* cmake: set default Release build type

* cmake: optionally enable cxx

* cmake: enable bindings with static library

* cmake: build testopt

* cmake: enable cxx for python bindings

* cmake: install nlopt.pc

* cmake: added missing compiler checks

* cmake: add octave support

* cmake: add guile bindings

* cmake: provide package_source target

* cmake: generate api headers

* Add Appveyor config file

* Test MinGW build

* Removed autotools

* cmake: install man

* re-implement getopt for test

* travis: +osx

* cmake: man/pkgconfig unix only

* add only Python test if built

* cmake: pkgconfig on mingw

* Fix octave include

* Find numpy includes

* Detect SWIG at top-level

* cmake: RPATH policy

* appveyor: shared build

* Add cmake config files

* travis: shared builds

* appveyor: no shared builds

* BUILD-MINGWXX.sh are superseeded by toolchain files

7 years agoMerge pull request #66 from bradking/gitignore-octave
Steven G. Johnson [Sat, 21 May 2016 02:23:21 +0000 (22:23 -0400)]
Merge pull request #66 from bradking/gitignore-octave

octave: Tell Git to ignore `dummy` build output

7 years agooctave: Tell Git to ignore `dummy` build output
Brad King [Thu, 19 May 2016 18:13:29 +0000 (14:13 -0400)]
octave: Tell Git to ignore `dummy` build output

8 years agoMerge pull request #64 from thrasibule/mybranch
Steven G. Johnson [Fri, 15 Apr 2016 19:26:19 +0000 (15:26 -0400)]
Merge pull request #64 from thrasibule/mybranch

also link with GUILE_LIBS

8 years agoalso link with GUILE_LIBS
Guillaume Horel [Fri, 15 Apr 2016 18:24:53 +0000 (14:24 -0400)]
also link with GUILE_LIBS

8 years agoMerge pull request #62 from sammy-tri/parallel_build
Steven G. Johnson [Wed, 13 Apr 2016 15:46:55 +0000 (11:46 -0400)]
Merge pull request #62 from sammy-tri/parallel_build

Chain build rules for guile and python bindings to avoid race conditions in parallel builds

8 years agoMerge pull request #63 from thrasibule/no-undefined
Steven G. Johnson [Wed, 13 Apr 2016 15:45:19 +0000 (11:45 -0400)]
Merge pull request #63 from thrasibule/no-undefined

add missing linking for C++

8 years agoadd missing linking for C++
Guillaume Horel [Tue, 12 Apr 2016 19:52:49 +0000 (15:52 -0400)]
add missing linking for C++

8 years agoChain build rules for guile and python bindings to avoid race conditions in parallel...
Sam Creasey [Tue, 12 Apr 2016 18:37:30 +0000 (14:37 -0400)]
Chain build rules for guile and python bindings to avoid race conditions in parallel builds.

8 years agoMerge pull request #56 from AaronWebster/patch-1
Steven G. Johnson [Fri, 29 Jan 2016 18:56:58 +0000 (13:56 -0500)]
Merge pull request #56 from AaronWebster/patch-1

Fixes memory leak in auglag/auglag.c

8 years agoFixes memory leak in auglag/auglag.c
AaronWebster [Fri, 29 Jan 2016 04:53:43 +0000 (20:53 -0800)]
Fixes memory leak in auglag/auglag.c

Fixes a memory leak in auglag/auglag.c where the working space xcur wasn't being `free`d under certain conditions.

8 years agoMerge pull request #50 from jschueller/patch-1
Steven G. Johnson [Fri, 11 Sep 2015 19:22:32 +0000 (15:22 -0400)]
Merge pull request #50 from jschueller/patch-1

fix nlopt.pc with cxx enabled

8 years agofix nlopt.pc with cxx enabled
Julien Schueller [Fri, 11 Sep 2015 17:28:13 +0000 (19:28 +0200)]
fix nlopt.pc with cxx enabled

8 years agoMerge pull request #46 from jschueller/travis
Steven G. Johnson [Fri, 4 Sep 2015 02:45:22 +0000 (22:45 -0400)]
Merge pull request #46 from jschueller/travis

Add Travis script

8 years agoAdd Travis script
Julien Schueller [Mon, 31 Aug 2015 09:52:52 +0000 (11:52 +0200)]
Add Travis script

8 years agoMerge pull request #47 from jschueller/patch-2
Steven G. Johnson [Wed, 2 Sep 2015 16:01:43 +0000 (12:01 -0400)]
Merge pull request #47 from jschueller/patch-2

simplify python test

8 years agosimplify python test
jschueller [Tue, 1 Sep 2015 08:21:23 +0000 (10:21 +0200)]
simplify python test

8 years agoMerge pull request #45 from jschueller/patch-1
Steven G. Johnson [Tue, 1 Sep 2015 01:58:38 +0000 (21:58 -0400)]
Merge pull request #45 from jschueller/patch-1

fix conversion error in stop.c

8 years agofix conversion error in stop.c
jschueller [Mon, 31 Aug 2015 09:27:19 +0000 (11:27 +0200)]
fix conversion error in stop.c

hi,

I got this error when compiling git head with gcc:

```
make[2]: Entering directory '/home/schueller/projects/nlopt/build/util'
/bin/sh ../libtool  --tag=CC   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../util -I..  -I../../api   -g -O2 -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -Wshadow -Wwrite-strings -Wredundant-decls -Wundef -Wconversion -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c -o stop.lo ../../util/stop.c
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../util -I.. -I../../api -g -O2 -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -Wno-long-long -pedantic -Wshadow -Wwrite-strings -Wredundant-decls -Wundef -Wconversion -MT stop.lo -MD -MP -MF .deps/stop.Tpo -c ../../util/stop.c  -fPIC -DPIC -o .libs/stop.o
../../util/stop.c: In function ‘char* nlopt_vsprintf(char*, const char*, __va_list_tag*)’:
../../util/stop.c:151:20: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
         p = realloc(p, len);
                    ^
Makefile:426: recipe for target 'stop.lo' failed
```

8 years agobackward compatibility with old Octave_map for #42
Steven G. Johnson [Thu, 9 Jul 2015 21:06:22 +0000 (17:06 -0400)]
backward compatibility with old Octave_map for #42

8 years agoMerge pull request #42 from opoplawski/octave4
Steven G. Johnson [Thu, 9 Jul 2015 21:04:01 +0000 (17:04 -0400)]
Merge pull request #42 from opoplawski/octave4

Use octave_map

8 years agoUse octave_map
Orion Poplawski [Wed, 8 Jul 2015 15:01:44 +0000 (09:01 -0600)]
Use octave_map

8 years agobug fix in nlopt_set_lower_bounds1, thanks to @wojdyr
Steven G. Johnson [Tue, 26 May 2015 15:00:46 +0000 (11:00 -0400)]
bug fix in nlopt_set_lower_bounds1, thanks to @wojdyr

9 years agomore robustness to underflow etc. (fix #36)
Steven G. Johnson [Tue, 12 May 2015 20:08:23 +0000 (16:08 -0400)]
more robustness to underflow etc. (fix #36)

9 years agofix #26
Steven G. Johnson [Fri, 17 Apr 2015 02:47:43 +0000 (22:47 -0400)]
fix #26

9 years agoadd nlopt_get_errmsg(opt) for more informative error messages; automatically used...
Steven G. Johnson [Fri, 17 Apr 2015 02:26:50 +0000 (22:26 -0400)]
add nlopt_get_errmsg(opt) for more informative error messages; automatically used in C++ and Python exceptions

9 years agoMerge branch 'master' of https://github.com/stevengj/nlopt
Steven G. Johnson [Sat, 11 Apr 2015 13:36:05 +0000 (09:36 -0400)]
Merge branch 'master' of https://github.com/stevengj/nlopt

9 years agoadd cmake files to tarball (close #35)
Steven G. Johnson [Sat, 11 Apr 2015 13:35:53 +0000 (09:35 -0400)]
add cmake files to tarball (close #35)

9 years agoMerge pull request #34 from jpritikin/slsqp
Steven G. Johnson [Mon, 23 Mar 2015 16:28:44 +0000 (12:28 -0400)]
Merge pull request #34 from jpritikin/slsqp

soft feasibility constraints for slsqp

9 years agoInterpret NaN as a soft feasibility constraint
Joshua Nathaniel Pritikin [Thu, 19 Mar 2015 12:07:46 +0000 (08:07 -0400)]
Interpret NaN as a soft feasibility constraint

9 years agoMerge duplicated code conditional on 'want_grad'
Joshua Nathaniel Pritikin [Thu, 19 Mar 2015 12:02:30 +0000 (08:02 -0400)]
Merge duplicated code conditional on 'want_grad'

9 years agoReindent switch statement
Joshua Nathaniel Pritikin [Fri, 20 Mar 2015 18:18:48 +0000 (14:18 -0400)]
Reindent switch statement

9 years agoAdd nlopt_isfinite
Joshua Nathaniel Pritikin [Fri, 20 Mar 2015 18:12:20 +0000 (14:12 -0400)]
Add nlopt_isfinite

9 years agoMerge pull request #32 from xantares/cmake
Steven G. Johnson [Thu, 26 Feb 2015 19:00:49 +0000 (14:00 -0500)]
Merge pull request #32 from xantares/cmake

build python bindings with cmake

9 years agolink python libs
xantares [Sat, 21 Feb 2015 07:13:48 +0000 (08:13 +0100)]
link python libs

9 years agodont use swig if nlopt-python.cpp is already present
xantares [Sat, 21 Feb 2015 07:09:51 +0000 (08:09 +0100)]
dont use swig if nlopt-python.cpp is already present

9 years agobuild swig bindings with cmake
xantares [Fri, 20 Feb 2015 20:07:27 +0000 (21:07 +0100)]
build swig bindings with cmake

9 years agoMerge pull request #31 from xantares/patch-1
Steven G. Johnson [Fri, 20 Feb 2015 14:22:37 +0000 (09:22 -0500)]
Merge pull request #31 from xantares/patch-1

remove useless dll soversion

9 years agoremove useless dll soversion
xantares [Fri, 20 Feb 2015 07:44:12 +0000 (08:44 +0100)]
remove useless dll soversion

as reported by M. Valle on the mailing list the 19/02/2015

9 years agofix #24
Steven G. Johnson [Thu, 18 Sep 2014 16:48:47 +0000 (12:48 -0400)]
fix #24

9 years agofix #25
Steven G. Johnson [Thu, 18 Sep 2014 16:40:13 +0000 (12:40 -0400)]
fix #25

9 years agocopyright year update for 2014
Steven G. Johnson [Tue, 20 May 2014 18:36:34 +0000 (14:36 -0400)]
copyright year update for 2014

9 years agobump for 2.4.2 release
Steven G. Johnson [Tue, 20 May 2014 18:35:27 +0000 (14:35 -0400)]
bump for 2.4.2 release

10 years agoMerge pull request #20 from xantares/soversion
Steven G. Johnson [Mon, 12 May 2014 12:44:00 +0000 (08:44 -0400)]
Merge pull request #20 from xantares/soversion

Parse configure.ac for lib version

10 years agoTypo.
xantares [Sat, 10 May 2014 12:50:17 +0000 (14:50 +0200)]
Typo.

10 years agoHandle properly SHARED_VERSION_INFO.
xantares [Sat, 10 May 2014 12:48:38 +0000 (14:48 +0200)]
Handle properly SHARED_VERSION_INFO.

10 years agoParse configure.ac for lib version
xantares [Sat, 10 May 2014 08:53:44 +0000 (10:53 +0200)]
Parse configure.ac for lib version

10 years agoMerge pull request #16 from xantares/install-target
Steven G. Johnson [Wed, 7 May 2014 02:08:21 +0000 (22:08 -0400)]
Merge pull request #16 from xantares/install-target

Added install target