This toolbox is an interface to the NLOpt optimization library (http://ab-initio.mit.edu/wiki/index.php/NLopt).
- A common interface for many different algorithms—try a different algorithm
just by changing one parameter.
- Support for large-scale optimization (some algorithms scalable to millions of
parameters and thousands of constraints).
- Both global and local optimization algorithms.
- Algorithms using function values only (derivative-free) and also algorithms
exploiting user-supplied gradients.
- Algorithms for unconstrained optimization, bound-constrained optimization, and
general nonlinear inequality/equality constraints.
Update to allow compilation under windows.
Upload date : 2012-10-12 08:47:22
MD5 : fb2c41ac272cb3fdce8b5fc71244b1be
SHA1 : f865750f6ddd5e30b7562ebc6fcdb0ce7dcf90bf
Downloads : 408
An excelent module but here is the list of change I had to do to make it works. I use win
32 with scilab 5.4.0.
--> file, rebuild_lib_windows.sci:
delete lines 16 18 19 20
replace line 38 by: [output,bOK,result] = dos(msvc_dir + 'lib.exe"" /machine:' +
+ ' /def:' + path_out + filesep() + lib_name + '.def /out:' + path_out + filesep() +
lib_name + '.lib','-echo')
--> file, builder_gateway_c.sce:
replace line 9 by: nlopt_install_path=strsubst(toolbox_dir+'thirdparty/','\','/')
replace line 33 by: status = rebuild_lib_windows(SCI + filesep() + 'bin',
nlopt_install_path, 'parameters', machine, '10.0');
replace line 39 by: CFLAGS = '-D__USE_DEPRECATED_STACK_FUNCTIONS__ -I'"' +
nlopt_install_path + 'include'"' + ' -I'"' + strsubst(path,'\','/')+''"';
replace line 43 by: LDFLAGS = ''"'+nlopt_install_path + 'libnlopt-win32.lib '"
--> file, scinlopt.start:
delete line 28
I also installed visual studio 2010 express edition to make it works.
Besides there is a mistake in the examples files: replace disp(f_xopt) by disp(f_opt)
There's some time ago, but it possible you post the original file with your comments in
order to take advantages of your improvements ? (I do not understand what I've to do from
the file I have ...)
Thanks for it