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

8 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

8 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

10 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

10 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

10 years agoMerge master
xantares [Tue, 6 May 2014 21:07:02 +0000 (23:07 +0200)]
Merge master

10 years agoMerge pull request #15 from xantares/build-shared-libs-option
Steven G. Johnson [Tue, 6 May 2014 19:02:27 +0000 (15:02 -0400)]
Merge pull request #15 from xantares/build-shared-libs-option

Use BUILD_SHARED_LIBS var

10 years agoAdded install target
xantares [Tue, 6 May 2014 15:06:02 +0000 (17:06 +0200)]
Added install target

10 years agoUse BUILD_SHARED_LIBS var
xantares [Tue, 6 May 2014 14:48:30 +0000 (16:48 +0200)]
Use BUILD_SHARED_LIBS var

10 years agoupdate defunct test program tst.c
Steven G. Johnson [Thu, 6 Mar 2014 21:41:51 +0000 (16:41 -0500)]
update defunct test program tst.c

10 years agoMerge pull request #6 from xantares/pytest
Steven G. Johnson [Mon, 24 Feb 2014 13:47:58 +0000 (08:47 -0500)]
Merge pull request #6 from xantares/pytest

Include python example in tarball.

10 years agoadd test_std.py to EXTRA_DIST
jschueller [Mon, 24 Feb 2014 08:53:56 +0000 (09:53 +0100)]
add test_std.py to EXTRA_DIST

10 years agofix #13 (CRS for empty dimensions)
Steven G. Johnson [Thu, 20 Feb 2014 18:00:58 +0000 (13:00 -0500)]
fix #13 (CRS for empty dimensions)

10 years agofix #12
Steven G. Johnson [Tue, 18 Feb 2014 16:51:04 +0000 (11:51 -0500)]
fix #12

10 years agotypo in mingw32 script
Steven G. Johnson [Tue, 19 Nov 2013 20:33:58 +0000 (15:33 -0500)]
typo in mingw32 script

10 years ago2.4.1 release: use cdecl, not stdcall, on Win32
Steven G. Johnson [Tue, 19 Nov 2013 20:22:31 +0000 (15:22 -0500)]
2.4.1 release: use cdecl, not stdcall, on Win32

10 years agoInclude python example in tarball.
xantares [Sun, 3 Nov 2013 07:31:46 +0000 (08:31 +0100)]
Include python example in tarball.

10 years agoupdated MinGW scripts
Steven G. Johnson [Sat, 2 Nov 2013 19:04:28 +0000 (15:04 -0400)]
updated MinGW scripts

10 years agomore NEWS
Steven G. Johnson [Sat, 2 Nov 2013 18:30:10 +0000 (14:30 -0400)]
more NEWS

10 years agonumpy 1.6 compatibility, ESCH matlab help
Steven G. Johnson [Sat, 2 Nov 2013 18:16:37 +0000 (14:16 -0400)]
numpy 1.6 compatibility, ESCH matlab help

10 years agodate for 2.4 release
Steven G. Johnson [Sat, 2 Nov 2013 17:49:22 +0000 (13:49 -0400)]
date for 2.4 release

10 years agoMerge pull request #5 from xantares/prefix
Steven G. Johnson [Tue, 3 Sep 2013 12:09:11 +0000 (05:09 -0700)]
Merge pull request #5 from xantares/prefix

Plugins installation honor prefix

10 years agoSubstitute XXX-CONFIG vars
xantares [Mon, 2 Sep 2013 20:37:14 +0000 (22:37 +0200)]
Substitute XXX-CONFIG vars

10 years agoStrip only if prefix is provided.
xantares [Sun, 1 Sep 2013 18:37:14 +0000 (20:37 +0200)]
Strip only if prefix is provided.

10 years agoMerge pull request #3 from xantares/autogen
Steven G. Johnson [Fri, 30 Aug 2013 17:37:09 +0000 (10:37 -0700)]
Merge pull request #3 from xantares/autogen

Added an option to configure in autogen

10 years agoMerge pull request #4 from xantares/py3k
Steven G. Johnson [Fri, 30 Aug 2013 17:35:55 +0000 (10:35 -0700)]
Merge pull request #4 from xantares/py3k

Py3K compatibility

10 years agoExplicitely specify npy flags.
xantares [Fri, 30 Aug 2013 15:23:29 +0000 (17:23 +0200)]
Explicitely specify npy flags.

10 years agoPlugins installation honor prefix
xantares [Fri, 30 Aug 2013 15:12:57 +0000 (17:12 +0200)]
Plugins installation honor prefix

10 years agoPy3K compatibility
xantares [Fri, 30 Aug 2013 14:55:34 +0000 (16:55 +0200)]
Py3K compatibility

10 years agoAdded an option to configure in autogen
xantares [Fri, 30 Aug 2013 14:44:08 +0000 (16:44 +0200)]
Added an option to configure in autogen

10 years agoMerge pull request #1 from xantares/master
Steven G. Johnson [Thu, 29 Aug 2013 14:28:42 +0000 (07:28 -0700)]
Merge pull request #1 from xantares/master

Fixed some build issues

10 years agoFixed undeclared memcpy error in esch.c
xantares [Thu, 29 Aug 2013 09:37:02 +0000 (11:37 +0200)]
Fixed undeclared memcpy error in esch.c

10 years agoPy3k compatible detection
xantares [Thu, 29 Aug 2013 09:22:26 +0000 (11:22 +0200)]
Py3k compatible detection

10 years agoFixed out-of-source build
xantares [Thu, 29 Aug 2013 09:20:55 +0000 (11:20 +0200)]
Fixed out-of-source build

10 years agowork around guile 1.8+ swig problems
Steven G. Johnson [Wed, 28 Aug 2013 15:51:51 +0000 (11:51 -0400)]
work around guile 1.8+ swig problems

10 years agofix missing README, remove darcs cruft
Steven G. Johnson [Wed, 28 Aug 2013 14:40:35 +0000 (10:40 -0400)]
fix missing README, remove darcs cruft

10 years agoclarify how to build from git
Steven G. Johnson [Wed, 28 Aug 2013 14:17:33 +0000 (10:17 -0400)]
clarify how to build from git

10 years agoadd .gitignore
Steven G. Johnson [Wed, 28 Aug 2013 14:13:09 +0000 (10:13 -0400)]
add .gitignore

10 years agotweak
Steven G. Johnson [Tue, 27 Aug 2013 17:04:07 +0000 (13:04 -0400)]
tweak

10 years agoupdated README, changed to markdown
Steven G. Johnson [Tue, 27 Aug 2013 17:03:21 +0000 (13:03 -0400)]
updated README, changed to markdown

10 years agorm defunct Nocedal code references (but keep NLOPT_LD_LBFGS_NOCEDAL constant for...
Steven G. Johnson [Tue, 27 Aug 2013 16:57:31 +0000 (12:57 -0400)]
rm defunct Nocedal code references (but keep NLOPT_LD_LBFGS_NOCEDAL constant for binary compatibility and as a placeholder if we are able to add in the new BSD-licensed Nocedal code

11 years agoversion bump for 2.4
Steven G. Johnson [Fri, 29 Mar 2013 03:45:24 +0000 (23:45 -0400)]
version bump for 2.4

11 years agouse python-config if it is present to get Python include path
Steven G. Johnson [Thu, 28 Mar 2013 20:33:42 +0000 (16:33 -0400)]
use python-config if it is present to get Python include path

11 years agominor typo fixes
Steven G. Johnson [Thu, 28 Mar 2013 20:12:36 +0000 (16:12 -0400)]
minor typo fixes

11 years agoadded nlopt_munge_data to fix bug in C++ (and Python, and Guile) copy constructor
Steven G. Johnson [Thu, 28 Mar 2013 15:27:33 +0000 (11:27 -0400)]
added nlopt_munge_data to fix bug in C++ (and Python, and Guile) copy constructor

11 years agoadded 2 refs to README at Carlos' request
stevenj [Mon, 11 Feb 2013 03:09:17 +0000 (22:09 -0500)]
added 2 refs to README at Carlos' request

Ignore-this: 62c445c786b11050bb79800ba29fbd55

darcs-hash:20130211030917-c8de0-ce140a2767c273771662058f2be1af99352925ec.gz

11 years agoadded ESCH algorithm
stevenj [Fri, 8 Feb 2013 17:12:54 +0000 (12:12 -0500)]
added ESCH algorithm

Ignore-this: cc8b951db64798b0e9a6496591ef0896

darcs-hash:20130208171254-c8de0-39328682d256f5b2406e43e28c4c928e31c72718.gz

11 years agofix swig dir for VPATH builds, thanks to Sandro Vitenti for the bug report
stevenj [Thu, 20 Sep 2012 13:07:57 +0000 (09:07 -0400)]
fix swig dir for VPATH builds, thanks to Sandro Vitenti for the bug report

Ignore-this: f972c729658c2805f0315f60bd949ac7

darcs-hash:20120920130757-c8de0-5bb0280843832fb5b3d4a549817ca7a0ae870506.gz

11 years agoversion bump for 2.3.1, tentative release date
stevenj [Sun, 16 Sep 2012 12:42:51 +0000 (08:42 -0400)]
version bump for 2.3.1, tentative release date

Ignore-this: a2f3489629b2c6f70a09b10b066d43ab

darcs-hash:20120916124251-c8de0-51db52bdfebc474ecae42371eefb7e0bf175197f.gz

11 years agocobyla should return ROUNDOFF_LIMITED if it "converges" to zero x tolerance, rather...
stevenj [Mon, 27 Aug 2012 17:53:59 +0000 (13:53 -0400)]
cobyla should return ROUNDOFF_LIMITED if it "converges" to zero x tolerance, rather than XTOL_REACHED; thanks to David Liu for the bug report

Ignore-this: c5ac800405beb77a0b18a7ba8f20a4a4

darcs-hash:20120827175359-c8de0-1ee07387d0560bde56d8de9315c20b03e4fea186.gz

11 years agobug fix: fix return value in set min/max objective
stevenj [Wed, 8 Aug 2012 15:52:19 +0000 (11:52 -0400)]
bug fix: fix return value in set min/max objective

Ignore-this: f52cbe2ff3c98d53de6f08185493b85b

darcs-hash:20120808155219-c8de0-38a56084114dcc06040700a283f5f21a684a38e1.gz

11 years agomake internal nlopt_opt.work field a void* rather than double*
stevenj [Wed, 8 Aug 2012 15:51:36 +0000 (11:51 -0400)]
make internal nlopt_opt.work field a void* rather than double*

Ignore-this: b4982d664cb36d41394eb11846fdcbdb

darcs-hash:20120808155136-c8de0-52cb9e5a263de6efabfb58a9cffcd8f8bfa7ea05.gz