Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : SciNLOpt details
Login with GitLab

SciNLOpt

An interface to the NLOpt optimization method
(1009 downloads for this version - 3586 downloads for all versions)
Details
Version
1.1
Author
Yann COLLETTE
Owner Organization
Scilab
Maintainer
Yann COLLETTE
License
Creation Date
October 12, 2012
Source created on
Scilab 5.3.x
Binaries available on
This toolbox is in the process of being built
Description
            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. 

            
Files (1)
[1.28 MB]
Source code archive
Update to allow compilation under windows.
News (0)
Comments (3)     Leave a comment 
Comment from Rougier Florent -- June 13, 2013, 09:32:48 AM    

Hi,

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:' +
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 '"
'"'+nlopt_install_path+'parameters.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)

Best regards 
Florent
Comment from Paul Carrico -- September 10, 2013, 03:47:58 PM    
Florent,

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

Paul
Comment -- July 5, 2022, 01:32:22 PM    
Nice!
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.