[Scilab-users] fmincon toolbox update

Stéphane Mottelet stephane.mottelet at utc.fr
Sat Jun 5 14:05:47 CEST 2021


Hi Eric, 

Could you be more precise ? I have I installed fmincon on at least 10 different machines for testing purposes  (mostly under Windows 10) and did not encounter any problem. Atoms is, I must say, a very unstable (not to say crappy) piece of software and in particular very hard to use smoothly when your are developing some modules and play e.g. with offline mode. 

What I would do first is to uninstall every module then install fmincon. If problem is still here please help me by debugging a bit...

S.

> Le 5 juin 2021 à 11:29, Éric Dubois <grocer.toolbox at gmail.com> a écrit :
> 
> 
> Hello Stéphane
> 
> This seems very interesting, but download through Atoms does not work (at least for me: I use Scilab 6.1.0 under Windows 10): dependencies (Sci-colpac, Sci-IPOt, for those I have noticed) are not dealt with. Moreover, trying to install Sci-IPOt with Atoms fails. By the way it makes also make fail lthe oading of  any module that could have been installed with Atoms, which reveals an undesirable feature of Atoms: failure to load a module should not prevent the loading of other ones.
> 
> Best regards,
> 
> Éric 
> 
> 	Garanti sans virus. www.avast.com
> 
>> Le mar. 1 juin 2021 à 12:21, Stéphane Mottelet <stephane.mottelet at utc.fr> a écrit :
>> Hi,
>> 
>> Le 01/06/2021 à 09:53, CHEZE David 227480 a écrit :
>> > Dear Stephane,
>> >
>> > Thank you for offering these enhanced capabilities in Scilab, fmincon and SciIPOpt. I'm about giving a try in comparison with leastsq(), on dynamic model parameter (~5-10) calibration purpose, based on measurement deviation, as time series (250 to >1000 samples). In general for fmincon and SciIPOpt, may I provide the objective function with inputs argument through the list() syntax like objf=list(myofunction,x,in1,in2,..) ?
>> 
>> Yes, you have such an example in the fitting demo ;
>> 
>> https://gitlab.com/esi-group/scilab/forge/fmincont/-/blob/master/demos/fmincon_fit.sce
>> 
>> S.
>> 
>> >
>> > Thank you for your advice,
>> >
>> > David
>> >
>> >
>> > -----Message d'origine-----
>> > De : users <users-bounces at lists.scilab.org> De la part de Stéphane Mottelet
>> > Envoyé : lundi 19 avril 2021 10:43
>> > À : Users mailing list for Scilab <users at lists.scilab.org>
>> > Objet : [Scilab-users] fmincon toolbox update
>> >
>> > Hi all,
>> >
>> > I would like to inform you that the fmincon toolbox has been updated
>> > (https://antispam.utc.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTTgAgPzRHrDev93-c71JTxG3gYERdftx8enpEGCicW5Zy&f=R0pWUVNEaUFuMTBCTlptbqaYxU0NWnHz-Aov_fSSM1D4vfIz2L0jb50-moW0RphD&u=https%3A//atoms.scilab.org/toolboxes/fmincon/1.0.2&k=8YLU) and now includes a major feature:  the Efficient Computation of Sparse Hessian using Coloring algorithm (scicolpack is now a  dependency of fmincon). This feature was missing and now allows fmincon to consider really big problems. A example of such is given in the "minimal surface demo" which compares 3 different approaches of the problem: one with finite differences gradient, and BFGS Hessian, one with exact gradient and BFGS Hessian, and the last with exact gradient and finite differences sparse Hessian. The time factor between the first and the third approchach is around 200 for a 21x21 square but you can edit the demo file and increase this value. For a 51x51 square the third approach takes only
>> > 0.45 seconds and is 2500 times faster. For a 101x101 square the first approach takes forever and the third ones takes less than 2 seconds and is still 10 times faster than the second one.
>> >
>> > If some of you still use other softwares for large scale optimization, maybe you can now give Scilab a try. If you need a better control on parameters and/or if you are not a former/actual user of Matlab's fmincon, I recommend using directly ipopt (from sci_ipopt toolbox). But the fmincon api is quite easy to use. Don't hesitate to took at the code of the several new demos.
>> >
>> > Don't hesitate to contact me if you have some problems using fmincon of just to say that you are using it with success !
>> >
>> > Regards,
>> >
>> > --
>> > Stéphane Mottelet
>> > Ingénieur de recherche
>> > EA 4297 Transformations Intégrées de la Matière Renouvelable Département Génie des Procédés Industriels Sorbonne Universités - Université de Technologie de Compiègne CS 60319, 60203 Compiègne cedex Tel : +33(0)344234688 https://antispam.utc.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTTgAgPzRHrDev93-c71JTxG3gYERdftx8enpEGCicW5Zy&f=R0pWUVNEaUFuMTBCTlptbqaYxU0NWnHz-Aov_fSSM1D4vfIz2L0jb50-moW0RphD&u=http%3A//www.utc.fr/~mottelet&k=8YLU
>> >
>> > _______________________________________________
>> > users mailing list
>> > users at lists.scilab.org
>> > https://antispam.utc.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTTgAgPzRHrDev93-c71JTxG3gYERdftx8enpEGCicW5Zy&f=R0pWUVNEaUFuMTBCTlptbqaYxU0NWnHz-Aov_fSSM1D4vfIz2L0jb50-moW0RphD&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=8YLU
>> > _______________________________________________
>> > users mailing list
>> > users at lists.scilab.org
>> > https://antispam.utc.fr/proxy/v3?i=cWdzUmRSM0ZiRHpoUDkxTSw3-90dQgKDkqmWWemZ6js&r=WXNQOUY5VXRSNUlTdlVTTgAgPzRHrDev93-c71JTxG3gYERdftx8enpEGCicW5Zy&f=R0pWUVNEaUFuMTBCTlptbqaYxU0NWnHz-Aov_fSSM1D4vfIz2L0jb50-moW0RphD&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=8YLU
>> 
>> -- 
>> Stéphane Mottelet
>> Ingénieur de recherche
>> EA 4297 Transformations Intégrées de la Matière Renouvelable
>> Département Génie des Procédés Industriels
>> Sorbonne Universités - Université de Technologie de Compiègne
>> CS 60319, 60203 Compiègne cedex
>> Tel : +33(0)344234688
>> http://www.utc.fr/~mottelet
>> 
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> http://lists.scilab.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210605/a61c1d1f/attachment.htm>


More information about the users mailing list