chiark / gitweb /
Add AGS global solver (#194)
authorVladislav Sovrasov <sovrasov.vlad@gmail.com>
Thu, 26 Jul 2018 14:34:05 +0000 (17:34 +0300)
committerSteven G. Johnson <stevenj@mit.edu>
Thu, 26 Jul 2018 14:34:05 +0000 (10:34 -0400)
commiteab47e7252fe5d3736d3468fb69af06edfce57e3
tree07e8b06845f6f3c94b9fd5d442c5f43238664c86
parent1226c1276dacf3687464c65eb165932281493a35
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
18 files changed:
CMakeLists.txt
doc/docs/NLopt_Algorithms.md
nlopt_config.h.in
src/algs/ags/ags.cc [new file with mode: 0644]
src/algs/ags/ags.h [new file with mode: 0644]
src/algs/ags/data_types.hpp [new file with mode: 0644]
src/algs/ags/evolvent.cc [new file with mode: 0644]
src/algs/ags/evolvent.hpp [new file with mode: 0644]
src/algs/ags/local_optimizer.cc [new file with mode: 0644]
src/algs/ags/local_optimizer.hpp [new file with mode: 0644]
src/algs/ags/solver.cc [new file with mode: 0644]
src/algs/ags/solver.hpp [new file with mode: 0644]
src/algs/ags/tst.cc [new file with mode: 0644]
src/api/general.c
src/api/nlopt.h
src/api/optimize.c
src/api/options.c
test/CMakeLists.txt