From 43f9687dc18ac5854281e1e820b3fdec89792601 Mon Sep 17 00:00:00 2001 From: tlatorre Date: Tue, 14 Aug 2018 13:10:51 -0500 Subject: update fit to use nlopt for minimization The GSL library only has the Nelder Mead Simplex algorithm for doing multidimensional minimization without gradient information. The nlopt library has lots of different minimization algorithms so it's easier to switch between them to see which one works best. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 2359e66..ae8807b 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,5 +1,5 @@ CFLAGS=-O0 -Wall -g -DSWAP_BYTES -LDLIBS=-lm -lgsl -lgslcblas +LDLIBS=-lm -lgsl -lgslcblas -lnlopt_cxx -lstdc++ all: test test-vector test-likelihood fit test-charge -- cgit