From david.cheze at cea.fr Tue Jun 1 09:53:34 2021 From: david.cheze at cea.fr (CHEZE David 227480) Date: Tue, 1 Jun 2021 07:53:34 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: Message-ID: 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,..) ? Thank you for your advice, David -----Message d'origine----- De?: users De la part de St?phane Mottelet Envoy??: lundi 19 avril 2021 10:43 ??: Users mailing list for Scilab Objet?: [Scilab-users] fmincon toolbox update Hi all, I would like to inform you that the fmincon toolbox has been updated (https://atoms.scilab.org/toolboxes/fmincon/1.0.2) 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 http://www.utc.fr/~mottelet _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users From stephane.mottelet at utc.fr Tue Jun 1 12:21:29 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 1 Jun 2021 12:21:29 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: Message-ID: <6ccc67b7-a6f6-89f2-0896-ece4f96fb060@utc.fr> 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 De la part de St?phane Mottelet > Envoy??: lundi 19 avril 2021 10:43 > ??: Users mailing list for Scilab > 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 From grocer.toolbox at gmail.com Sat Jun 5 11:26:45 2021 From: grocer.toolbox at gmail.com (=?UTF-8?B?w4lyaWMgRHVib2lz?=) Date: Sat, 5 Jun 2021 11:26:45 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <6ccc67b7-a6f6-89f2-0896-ece4f96fb060@utc.fr> References: <6ccc67b7-a6f6-89f2-0896-ece4f96fb060@utc.fr> Message-ID: 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 <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Le mar. 1 juin 2021 ? 12:21, St?phane Mottelet 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 De la part de St?phane > Mottelet > > Envoy? : lundi 19 avril 2021 10:43 > > ? : Users mailing list for Scilab > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Sat Jun 5 14:05:47 2021 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Sat, 5 Jun 2021 14:05:47 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: Message-ID: <79340DA3-B848-4131-ACD0-B43058524008@utc.fr> 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 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 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 De la part de St?phane Mottelet >> > Envoy? : lundi 19 avril 2021 10:43 >> > ? : Users mailing list for Scilab >> > 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: From grocer.toolbox at gmail.com Sat Jun 5 15:18:39 2021 From: grocer.toolbox at gmail.com (=?UTF-8?B?w4lyaWMgRHVib2lz?=) Date: Sat, 5 Jun 2021 15:18:39 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <79340DA3-B848-4131-ACD0-B43058524008@utc.fr> References: <79340DA3-B848-4131-ACD0-B43058524008@utc.fr> Message-ID: Thanks St?phane for your quick answer I have tried installing fmincon first, then scicolpack (it works), then sci_ipopt and it does not work: only file sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: - first that dependencies are not deal with for the fmincon distribution that Atoms uses; - second, that there is some problem using Atoms for loading sci_ipopt Maybe I should not use Atoms, but when it works it is the most convenient way to download a module. ?ric Garanti sans virus. www.avast.com <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> Le sam. 5 juin 2021 ? 14:06, St?phane Mottelet a ?crit : > 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 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 > > <#m_8860848929987197390_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > > Le mar. 1 juin 2021 ? 12:21, St?phane Mottelet > 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 De la part de St?phane >> Mottelet >> > Envoy? : lundi 19 avril 2021 10:43 >> > ? : Users mailing list for Scilab >> > 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 > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Sat Jun 5 22:17:27 2021 From: stephane.mottelet at utc.fr (=?utf-8?Q?St=C3=A9phane_Mottelet?=) Date: Sat, 5 Jun 2021 22:17:27 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: Message-ID: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> May I ask if there are there some Windows users who read this post and who successfully installed sci_ipopt or fmincon ? S. > Le 5 juin 2021 ? 15:21, ?ric Dubois a ?crit : > > ? > Thanks St?phane for your quick answer > > I have tried installing fmincon first, then scicolpack (it works), then sci_ipopt and it does not work: only file sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: > - first that dependencies are not deal with for the fmincon distribution that Atoms uses; > - second, that there is some problem using Atoms for loading sci_ipopt > > Maybe I should not use Atoms, but when it works it is the most convenient way to download a module. > > ?ric > > Garanti sans virus. www.avast.com > >> Le sam. 5 juin 2021 ? 14:06, St?phane Mottelet a ?crit : >> 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 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 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 De la part de St?phane Mottelet >>>> > Envoy? : lundi 19 avril 2021 10:43 >>>> > ? : Users mailing list for Scilab >>>> > 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 >> _______________________________________________ >> 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: From david.cheze at cea.fr Mon Jun 7 09:20:18 2021 From: david.cheze at cea.fr (CHEZE David 227480) Date: Mon, 7 Jun 2021 07:20:18 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> Message-ID: <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Hi all, I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 WIN10-64bits, a few weeks ago and the demos are running properly. I had some minor dependencies issues while installing, I don?t remember exactly , probably the SciIPopt version was not aligned with the one required by fmincon. My 2 cents David De : users De la part de St?phane Mottelet Envoy? : samedi 5 juin 2021 22:17 ? : Users mailing list for Scilab Objet : Re: [Scilab-users] fmincon toolbox update May I ask if there are there some Windows users who read this post and who successfully installed sci_ipopt or fmincon ? S. Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit : ? Thanks St?phane for your quick answer I have tried installing fmincon first, then scicolpack (it works), then sci_ipopt and it does not work: only file sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: - first that dependencies are not deal with for the fmincon distribution that Atoms uses; - second, that there is some problem using Atoms for loading sci_ipopt Maybe I should not use Atoms, but when it works it is the most convenient way to download a module. ?ric [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif] Garanti sans virus. www.avast.com Le sam. 5 juin 2021 ? 14:06, St?phane Mottelet > a ?crit : 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 > 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 [https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif] Garanti sans virus. www.avast.com Le mar. 1 juin 2021 ? 12:21, St?phane Mottelet > 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 > De la part de St?phane Mottelet > Envoy? : lundi 19 avril 2021 10:43 > ? : Users mailing list for Scilab > > 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 _______________________________________________ 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: From stephane.mottelet at utc.fr Mon Jun 7 09:38:06 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Mon, 7 Jun 2021 09:38:06 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Message-ID: <9d599310-8bf4-2106-f3b0-f51612a82475@utc.fr> Hi, Le 07/06/2021 ? 09:20, CHEZE David 227480 a ?crit?: > > Hi all, > > I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 > WIN10-64bits, a few weeks ago and the demos are running properly. I > had some minor dependencies issues while installing, I don?t remember > exactly , probably the SciIPopt version was not aligned with the one > required by fmincon. > Yes, there were successive versions of? sci_ipot over a short period, and since the updates only pop in the atoms gui (not at loading time), you can easily miss them. However, the situation is stable since the end of april and I don't plan a new release until the end of 2021. S. > My 2 cents > > David > > *De?:*users *De la part de* St?phane > Mottelet > *Envoy??:* samedi 5 juin 2021 22:17 > *??:* Users mailing list for Scilab > *Objet?:* Re: [Scilab-users] fmincon toolbox update > > May I ask if there are there some Windows users who read this post and > who successfully installed sci_ipopt or fmincon ? > > S. > > > > Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit?: > > ? > > Thanks St?phane for your quick answer > > I have tried installing fmincon first, then scicolpack (it works), > then sci_ipopt? and it does not work: only > file?sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: > > - first that dependencies are not deal with for the fmincon > distribution that Atoms uses; > > - second, that there is some problem using Atoms for loading? > sci_ipopt > > Maybe I should not use Atoms, but when it works it is the most > convenient way to download a module. > > ?ric > > > > > > Garanti sans virus. www.avast.com > > > > Le?sam. 5 juin 2021 ??14:06, St?phane Mottelet > > a ?crit?: > > 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 > > 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 > > 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 > De la part de > St?phane Mottelet > > Envoy??: lundi 19 avril 2021 10:43 > > ??: Users mailing list for Scilab > > > > 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 > > > _______________________________________________ > 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 > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=d1l4NXNNaWE4SWZqU0dLWcuTfdxEd98NfWIp9dma5kY&r=MXJUa0FrUVJqc1UwYWxNZ_l2XdONNMobHTOkcFU5rSq3Vvg51usC-EIDTIbTsVuR&f=c2xMdVN4Smh2R2tOZDdIRKWh7T4_OG5ZJYSqRVIQDaJJ7TL3JgtPt3A-KXkIdypi&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=fjzS -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alain.Lamy at cnes.fr Mon Jun 7 09:46:14 2021 From: Alain.Lamy at cnes.fr (Lamy Alain) Date: Mon, 7 Jun 2021 07:46:14 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> Message-ID: <8F232902ADB4E14EB16789FB7006FC8472A470B9@TW-MBX-P01.cnesnet.ad.cnes.fr> Hi, Yes I have successfully installed sci_ipopt and fmincon on Windows (but not using atoms). Alain -------------- next part -------------- An HTML attachment was scrubbed... URL: From Clement.David at esi-group.com Mon Jun 7 10:01:01 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Mon, 7 Jun 2021 08:01:01 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Message-ID: Hello all, I try to install to check fmincon to check on my machine and give you a fresh eye on the basic install/usage. I have a few remarks: 1. My Scilab and all atoms packages are installed in user directories but the library check at startup on sci_ipopt ask for administrator access to update. That?s a pity to require that. 2. The message ?This program contains Ipopt, a library for large-scale nonlinear optimization.? looks strange to me, this function is named ipopt and I think the references are written in the documentation and on the DESCRIPTION file. There is no need to display that at runtime. Otherwise basic examples are running even if it change the toolbox loading order (sci_ipopt after fmincon, scicolpack after sci_ipopt, etc?). Cl?ment From: users On Behalf Of CHEZE David 227480 Sent: Monday, June 7, 2021 9:20 AM To: Users mailing list for Scilab Subject: Re: [Scilab-users] fmincon toolbox update Hi all, I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 WIN10-64bits, a few weeks ago and the demos are running properly. I had some minor dependencies issues while installing, I don?t remember exactly , probably the SciIPopt version was not aligned with the one required by fmincon. My 2 cents David De : users De la part de St?phane Mottelet Envoy? : samedi 5 juin 2021 22:17 ? : Users mailing list for Scilab Objet : Re: [Scilab-users] fmincon toolbox update May I ask if there are there some Windows users who read this post and who successfully installed sci_ipopt or fmincon ? S. Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit : ? Thanks St?phane for your quick answer I have tried installing fmincon first, then scicolpack (it works), then sci_ipopt and it does not work: only file sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: - first that dependencies are not deal with for the fmincon distribution that Atoms uses; - second, that there is some problem using Atoms for loading sci_ipopt Maybe I should not use Atoms, but when it works it is the most convenient way to download a module. ?ric [Image removed by sender.] Garanti sans virus. www.avast.com Le sam. 5 juin 2021 ? 14:06, St?phane Mottelet > a ?crit : 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 > 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 [Image removed by sender.] Garanti sans virus. www.avast.com Le mar. 1 juin 2021 ? 12:21, St?phane Mottelet > 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 > De la part de St?phane Mottelet > Envoy? : lundi 19 avril 2021 10:43 > ? : Users mailing list for Scilab > > 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 _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: image001.jpg URL: From stephane.mottelet at utc.fr Mon Jun 7 10:00:18 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Mon, 7 Jun 2021 10:00:18 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: <8F232902ADB4E14EB16789FB7006FC8472A470B9@TW-MBX-P01.cnesnet.ad.cnes.fr> References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <8F232902ADB4E14EB16789FB7006FC8472A470B9@TW-MBX-P01.cnesnet.ad.cnes.fr> Message-ID: Le 07/06/2021 ? 09:46, Lamy Alain a ?crit?: > > Hi, > > Yes I have successfully installed sci_ipopt and fmincon on Windows > (but not using atoms). > Do you mean that you manually open the packages zip file and exec the loader script manually for apifun, scicolpack, sci_ipopt and fmincon ? S. > Alain > > > _______________________________________________ > users mailing list > users at lists.scilab.org > https://antispam.utc.fr/proxy/v3?i=WjB4M1dJWGJJMnNGTHV5MuAPDwEdQko7KGyaWIIeme0&r=Skk2OVhvdXl2cm1uOWJtRLRPDrgr4YiCABksjbHu_Gv8eNkcUiMzd6MxV8KbAPI5&f=M2FwZHlGNnU1aUlkc09ZNN6FtQAZUfRagBYPQiUfaoT45ZkXHKKVm0cOGvv2yMCS&u=http%3A//lists.scilab.org/mailman/listinfo/users&k=CXOq -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Mon Jun 7 10:11:05 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Mon, 7 Jun 2021 10:11:05 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Message-ID: Le 07/06/2021 ? 10:01, Cl?ment David a ?crit?: > > Hello all, > > I try to install to check fmincon to check on my machine and give you > a fresh eye on the basic install/usage. I have a few remarks: > > 1. My Scilab and all atoms packages are installed in user directories > but the library check at startup on sci_ipopt ask for > administrator access to update. That?s a pity to require that. > The problematic library (shipped with official Scilab) (intel fortran lib) is very, very outdated. It hope it will be upgraded in Scilab 6.1.1.. If you have a better way of upgrading it just tell me... > 1. > > > 2. The message ?This program contains Ipopt, a library for > large-scale nonlinear optimization.? looks strange to me, this > function is named ipopt and I think the references are written in > the documentation and on the DESCRIPTION file. There is no need to > display that at runtime. > This is an advertising feature of IPopt and I don't know how to suppress it. It occurs only at first call of IPopt and was already present in original releases of sci_ipopt (Yann Collette was the maintainer) > 1. > > > Otherwise basic examples are running even if it change the toolbox > loading order (sci_ipopt after fmincon, scicolpack after sci_ipopt, etc?). > Ok thanks for testing. S. > Cl?ment > > *From:*users *On Behalf Of *CHEZE > David 227480 > *Sent:* Monday, June 7, 2021 9:20 AM > *To:* Users mailing list for Scilab > *Subject:* Re: [Scilab-users] fmincon toolbox update > > Hi all, > > I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 > WIN10-64bits, a few weeks ago and the demos are running properly. I > had some minor dependencies issues while installing, I don?t remember > exactly , probably the SciIPopt version was not aligned with the one > required by fmincon. > > My 2 cents > > David > > *De?:*users *De la part de* St?phane > Mottelet > *Envoy??:* samedi 5 juin 2021 22:17 > *??:* Users mailing list for Scilab > *Objet?:* Re: [Scilab-users] fmincon toolbox update > > May I ask if there are there some Windows users who read this post and > who successfully installed sci_ipopt or fmincon ? > > S. > > Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit?: > > ? > > Thanks St?phane for your quick answer > > I have tried installing fmincon first, then scicolpack (it works), > then sci_ipopt and it does not work: only > file?sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: > > - first that dependencies are not deal with for the fmincon > distribution that Atoms uses; > > - second, that there is some problem using Atoms for loading? > sci_ipopt > > Maybe I should not use Atoms, but when it works it is the most > convenient way to download a module. > > ?ric > > Image removed by sender. > > > > > Garanti sans virus. www.avast.com > > > Le?sam. 5 juin 2021 ??14:06, St?phane Mottelet > > a ?crit?: > > 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 > > 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 > > Image removed by sender. > > > > > Garanti sans virus. www.avast.com > > > Le?mar. 1 juin 2021 ??12:21, St?phane Mottelet > > 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 > De la part de > St?phane Mottelet > > Envoy??: lundi 19 avril 2021 10:43 > > ??: Users mailing list for Scilab > > > > 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 > > > _______________________________________________ > 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 > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: not available URL: From Alain.Lamy at cnes.fr Mon Jun 7 10:21:20 2021 From: Alain.Lamy at cnes.fr (Lamy Alain) Date: Mon, 7 Jun 2021 08:21:20 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <8F232902ADB4E14EB16789FB7006FC8472A470B9@TW-MBX-P01.cnesnet.ad.cnes.fr> Message-ID: <8F232902ADB4E14EB16789FB7006FC8472A47114@TW-MBX-P01.cnesnet.ad.cnes.fr> apifun is in fact loaded through atoms. fmincon and sci_ipopt are loaded manually (exec(xxx..sce)) using the binary zip files. (I have just run some examples so far) -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephane.mottelet at utc.fr Tue Jun 8 08:49:17 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Tue, 8 Jun 2021 08:49:17 +0200 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Message-ID: Hi, These problems are now? fixed in version 1.3.1. For the Windows version, if the update of libifcoremd.dll is necessary, the writeability of SCI/bin is tested in order to run the update script with admin rights only if needed. S. Le 07/06/2021 ? 10:01, Cl?ment David a ?crit?: > > Hello all, > > I try to install to check fmincon to check on my machine and give you > a fresh eye on the basic install/usage. I have a few remarks: > > 1. My Scilab and all atoms packages are installed in user directories > but the library check at startup on sci_ipopt ask for > administrator access to update. That?s a pity to require that. > 2. The message ?This program contains Ipopt, a library for > large-scale nonlinear optimization.? looks strange to me, this > function is named ipopt and I think the references are written in > the documentation and on the DESCRIPTION file. There is no need to > display that at runtime. > > Otherwise basic examples are running even if it change the toolbox > loading order (sci_ipopt after fmincon, scicolpack after sci_ipopt, etc?). > > Cl?ment > > *From:*users *On Behalf Of *CHEZE > David 227480 > *Sent:* Monday, June 7, 2021 9:20 AM > *To:* Users mailing list for Scilab > *Subject:* Re: [Scilab-users] fmincon toolbox update > > Hi all, > > I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 > WIN10-64bits, a few weeks ago and the demos are running properly. I > had some minor dependencies issues while installing, I don?t remember > exactly , probably the SciIPopt version was not aligned with the one > required by fmincon. > > My 2 cents > > David > > *De?:*users *De la part de* St?phane > Mottelet > *Envoy??:* samedi 5 juin 2021 22:17 > *??:* Users mailing list for Scilab > *Objet?:* Re: [Scilab-users] fmincon toolbox update > > May I ask if there are there some Windows users who read this post and > who successfully installed sci_ipopt or fmincon ? > > S. > > Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit?: > > ? > > Thanks St?phane for your quick answer > > I have tried installing fmincon first, then scicolpack (it works), > then sci_ipopt and it does not work: only > file?sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: > > - first that dependencies are not deal with for the fmincon > distribution that Atoms uses; > > - second, that there is some problem using Atoms for loading? > sci_ipopt > > Maybe I should not use Atoms, but when it works it is the most > convenient way to download a module. > > ?ric > > Image removed by sender. > > > > > Garanti sans virus. www.avast.com > > > Le?sam. 5 juin 2021 ??14:06, St?phane Mottelet > > a ?crit?: > > 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 > > 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 > > Image removed by sender. > > > > > Garanti sans virus. www.avast.com > > > Le?mar. 1 juin 2021 ??12:21, St?phane Mottelet > > 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 > De la part de > St?phane Mottelet > > Envoy??: lundi 19 avril 2021 10:43 > > ??: Users mailing list for Scilab > > > > 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 > > > _______________________________________________ > 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 > > > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: not available URL: From Clement.David at esi-group.com Tue Jun 8 14:02:07 2021 From: Clement.David at esi-group.com (=?utf-8?B?Q2zDqW1lbnQgRGF2aWQ=?=) Date: Tue, 8 Jun 2021 12:02:07 +0000 Subject: [Scilab-users] fmincon toolbox update In-Reply-To: References: <8BBB83AF-1F1C-4BFB-A576-FA434C6C4080@utc.fr> <885224e8ae404f5e9298c5aa6efe4a56@cea.fr> Message-ID: Hi, Nice, thanks. Cl?ment From: users On Behalf Of St?phane Mottelet Sent: Tuesday, June 8, 2021 8:49 AM To: users at lists.scilab.org Subject: Re: [Scilab-users] fmincon toolbox update Hi, These problems are now fixed in version 1.3.1. For the Windows version, if the update of libifcoremd.dll is necessary, the writeability of SCI/bin is tested in order to run the update script with admin rights only if needed. S. Le 07/06/2021 ? 10:01, Cl?ment David a ?crit : Hello all, I try to install to check fmincon to check on my machine and give you a fresh eye on the basic install/usage. I have a few remarks: 1. My Scilab and all atoms packages are installed in user directories but the library check at startup on sci_ipopt ask for administrator access to update. That?s a pity to require that. 2. The message ?This program contains Ipopt, a library for large-scale nonlinear optimization.? looks strange to me, this function is named ipopt and I think the references are written in the documentation and on the DESCRIPTION file. There is no need to display that at runtime. Otherwise basic examples are running even if it change the toolbox loading order (sci_ipopt after fmincon, scicolpack after sci_ipopt, etc?). Cl?ment From: users On Behalf Of CHEZE David 227480 Sent: Monday, June 7, 2021 9:20 AM To: Users mailing list for Scilab Subject: Re: [Scilab-users] fmincon toolbox update Hi all, I installed both SciPOpt and fmincon from ATOMS on Scilab 6.1.0 WIN10-64bits, a few weeks ago and the demos are running properly. I had some minor dependencies issues while installing, I don?t remember exactly , probably the SciIPopt version was not aligned with the one required by fmincon. My 2 cents David De : users De la part de St?phane Mottelet Envoy? : samedi 5 juin 2021 22:17 ? : Users mailing list for Scilab Objet : Re: [Scilab-users] fmincon toolbox update May I ask if there are there some Windows users who read this post and who successfully installed sci_ipopt or fmincon ? S. Le 5 juin 2021 ? 15:21, ?ric Dubois > a ?crit : ? Thanks St?phane for your quick answer I have tried installing fmincon first, then scicolpack (it works), then sci_ipopt and it does not work: only file sci_ipopt_1.3.bin.x64.Windows.zipis downloaded. So it seems: - first that dependencies are not deal with for the fmincon distribution that Atoms uses; - second, that there is some problem using Atoms for loading sci_ipopt Maybe I should not use Atoms, but when it works it is the most convenient way to download a module. ?ric [Image removed by sender.] Garanti sans virus. www.avast.com Le sam. 5 juin 2021 ? 14:06, St?phane Mottelet > a ?crit : 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 > 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 [Image removed by sender.] Garanti sans virus. www.avast.com Le mar. 1 juin 2021 ? 12:21, St?phane Mottelet > 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 > De la part de St?phane Mottelet > Envoy? : lundi 19 avril 2021 10:43 > ? : Users mailing list for Scilab > > 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 _______________________________________________ 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 _______________________________________________ users mailing list users at lists.scilab.org http://lists.scilab.org/mailman/listinfo/users -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 350 bytes Desc: image001.jpg URL: From fmiyara at fceia.unr.edu.ar Wed Jun 16 00:32:12 2021 From: fmiyara at fceia.unr.edu.ar (Federico Miyara) Date: Tue, 15 Jun 2021 19:32:12 -0300 Subject: [Scilab-users] Question on saving with wavwrite() Message-ID: <90dcc221-c893-a940-9951-8b3edf7be454@fceia.unr.edu.ar> Dear all, I try to save a signal as a wave file, using wavwrite(), to the root directory of the drive where I have declared the default directory. Unexpectedly, the wave file is saved to the default directory. For instance: My default directory: D:\work_scilab My command: wavwrite(x, Fs, "D:\test.wav") The resulting path to my file: D:\work_scilab\test.wav instead of D:\test.wav I wonder if I making some mistake. Thank you. Regards, Federico Miyara -- El software de antivirus Avast ha analizado este correo electr?nico en busca de virus. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: From sdr at durietz.se Fri Jun 18 18:28:29 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 18 Jun 2021 18:28:29 +0200 Subject: [Scilab-users] Undocking windows Message-ID: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> Hello, how can I make all my Scilab windows not dockable? And how can I get rid of the toolbars? I can do both with figure windows. Regards Stefan From sgougeon at free.fr Fri Jun 18 20:53:29 2021 From: sgougeon at free.fr (Samuel Gougeon) Date: Fri, 18 Jun 2021 20:53:29 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> Message-ID: <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> Hello, Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: > Hello, > how can I make all my Scilab windows not dockable? > And how can I get rid of the toolbars? > > I can do both with figure windows. Fine. So,? with "all your Scilab windows" are you addressing the console, the help browser, the file browser, xcos windows, etc ? Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? From sdr at durietz.se Fri Jun 18 21:00:23 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 18 Jun 2021 21:00:23 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> Message-ID: <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> On 2021-06-18 20:53, Samuel Gougeon wrote: > Hello, > > Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >> Hello, >> how can I make all my Scilab windows not dockable? >> And how can I get rid of the toolbars? >> >> I can do both with figure windows. > > Fine. So,? with "all your Scilab windows" are you addressing the > console, the help browser, the file browser, xcos windows, etc ? > Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? > I mean your first line, thanks. From stephane.mottelet at utc.fr Thu Jun 24 11:27:32 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 24 Jun 2021 11:27:32 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> Message-ID: Hi, Why do you need this feature ? I mean, do you need a kind off accessibility setting to prevent docking them by accident ? S. Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: > > > On 2021-06-18 20:53, Samuel Gougeon wrote: >> Hello, >> >> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>> Hello, >>> how can I make all my Scilab windows not dockable? >>> And how can I get rid of the toolbars? >>> >>> I can do both with figure windows. >> >> Fine. So,? with "all your Scilab windows" are you addressing the >> console, the help browser, the file browser, xcos windows, etc ? >> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >> > I mean your first line, thanks. > > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- 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 From sdr at durietz.se Thu Jun 24 13:09:12 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Thu, 24 Jun 2021 13:09:12 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> Message-ID: <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> Hello, yes, and to get the useful part of the window a little higher. The same without toolbars (that I never use). Isn't there a text-file with window settings somewhere? In the console menu I can choose to hide the toolbar but it is not remembered Regards Stefan On 2021-06-24 11:27, St?phane Mottelet wrote: > Hi, > > Why do you need this feature ? I mean, do you need a kind off > accessibility setting to prevent docking them by accident ? > > S. > > Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: >> >> >> On 2021-06-18 20:53, Samuel Gougeon wrote: >>> Hello, >>> >>> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>>> Hello, >>>> how can I make all my Scilab windows not dockable? >>>> And how can I get rid of the toolbars? >>>> >>>> I can do both with figure windows. >>> >>> Fine. So,? with "all your Scilab windows" are you addressing the >>> console, the help browser, the file browser, xcos windows, etc ? >>> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >>> >> I mean your first line, thanks. >> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users > From stephane.mottelet at utc.fr Thu Jun 24 15:45:50 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 24 Jun 2021 15:45:50 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> Message-ID: Le 24/06/2021 ? 13:09, Stefan Du Rietz a ?crit?: > Hello, > yes, and to get the useful part of the window a little higher. The > same without toolbars (that I never use). > > Isn't there a text-file with window settings somewhere? no > > In the console menu I can choose to hide the toolbar but it is not > remembered The console can be managed by the user through its handle and the visibility of the toolbar can be managed: c = get(0); c.toolbar_visible = "off"; However, this is the only non-graphical window which is available this way. Managing other non-graphical windows (variable browser, scinotes, ...) is possible but this would need some further developments. S. > > Regards > Stefan > > > On 2021-06-24 11:27, St?phane Mottelet wrote: >> Hi, >> >> Why do you need this feature ? I mean, do you need a kind off >> accessibility setting to prevent docking them by accident ? >> >> S. >> >> Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: >>> >>> >>> On 2021-06-18 20:53, Samuel Gougeon wrote: >>>> Hello, >>>> >>>> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>>>> Hello, >>>>> how can I make all my Scilab windows not dockable? >>>>> And how can I get rid of the toolbars? >>>>> >>>>> I can do both with figure windows. >>>> >>>> Fine. So,? with "all your Scilab windows" are you addressing the >>>> console, the help browser, the file browser, xcos windows, etc ? >>>> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >>>> >>> I mean your first line, thanks. >>> >>> _______________________________________________ >>> 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 -- 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 From sdr at durietz.se Thu Jun 24 17:41:15 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Thu, 24 Jun 2021 17:41:15 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> Message-ID: <6f0e65ec-e378-13e7-ade2-f37e2b3bfabf@durietz.se> On 2021-06-24 15:45, St?phane Mottelet wrote: > > Le 24/06/2021 ? 13:09, Stefan Du Rietz a ?crit?: >> Hello, >> yes, and to get the useful part of the window a little higher. The >> same without toolbars (that I never use). >> >> Isn't there a text-file with window settings somewhere? > no But when I restart Scilab, all windows reappear in the same positions, Where is that information stored? >> >> In the console menu I can choose to hide the toolbar but it is not >> remembered > > The console can be managed by the user through its handle and the > visibility of the toolbar can be managed: > > c = get(0); > c.toolbar_visible = "off"; > > However, this is the only non-graphical window which is available this > way. Managing other non-graphical windows (variable browser, scinotes, > ...) is possible but this would need some further developments. > Do you mean new Scilab source code? Stefan > S. > >> >> Regards >> Stefan >> >> >> On 2021-06-24 11:27, St?phane Mottelet wrote: >>> Hi, >>> >>> Why do you need this feature ? I mean, do you need a kind off >>> accessibility setting to prevent docking them by accident ? >>> >>> S. >>> >>> Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: >>>> >>>> >>>> On 2021-06-18 20:53, Samuel Gougeon wrote: >>>>> Hello, >>>>> >>>>> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>>>>> Hello, >>>>>> how can I make all my Scilab windows not dockable? >>>>>> And how can I get rid of the toolbars? >>>>>> >>>>>> I can do both with figure windows. >>>>> >>>>> Fine. So,? with "all your Scilab windows" are you addressing the >>>>> console, the help browser, the file browser, xcos windows, etc ? >>>>> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >>>>> >>>> I mean your first line, thanks. >>>> >>>> _______________________________________________ >>>> 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 > From stephane.mottelet at utc.fr Thu Jun 24 17:51:01 2021 From: stephane.mottelet at utc.fr (=?UTF-8?Q?St=c3=a9phane_Mottelet?=) Date: Thu, 24 Jun 2021 17:51:01 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <6f0e65ec-e378-13e7-ade2-f37e2b3bfabf@durietz.se> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> <6f0e65ec-e378-13e7-ade2-f37e2b3bfabf@durietz.se> Message-ID: <777139eb-5fe6-6800-88f7-b99916a400df@utc.fr> Le 24/06/2021 ? 17:41, Stefan Du Rietz a ?crit?: > > > On 2021-06-24 15:45, St?phane Mottelet wrote: >> >> Le 24/06/2021 ? 13:09, Stefan Du Rietz a ?crit?: >>> Hello, >>> yes, and to get the useful part of the window a little higher. The >>> same without toolbars (that I never use). >>> >>> Isn't there a text-file with window settings somewhere? >> no > > But when I restart Scilab, all windows reappear in the same positions, > Where is that information stored? I meant the information about toolbars, dockability is not part of this file, which is in SCIHOME: SCIHOME/windowsConfiguration.xml >>> >>> In the console menu I can choose to hide the toolbar but it is not >>> remembered >> >> The console can be managed by the user through its handle and the >> visibility of the toolbar can be managed: >> >> c = get(0); >> c.toolbar_visible = "off"; >> >> However, this is the only non-graphical window which is available >> this way. Managing other non-graphical windows (variable browser, >> scinotes, ...) is possible but this would need some further >> developments. >> > Do you mean new Scilab source code? yes. S. > > Stefan > >> S. >> >>> >>> Regards >>> Stefan >>> >>> >>> On 2021-06-24 11:27, St?phane Mottelet wrote: >>>> Hi, >>>> >>>> Why do you need this feature ? I mean, do you need a kind off >>>> accessibility setting to prevent docking them by accident ? >>>> >>>> S. >>>> >>>> Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: >>>>> >>>>> >>>>> On 2021-06-18 20:53, Samuel Gougeon wrote: >>>>>> Hello, >>>>>> >>>>>> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>>>>>> Hello, >>>>>>> how can I make all my Scilab windows not dockable? >>>>>>> And how can I get rid of the toolbars? >>>>>>> >>>>>>> I can do both with figure windows. >>>>>> >>>>>> Fine. So,? with "all your Scilab windows" are you addressing the >>>>>> console, the help browser, the file browser, xcos windows, etc ? >>>>>> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >>>>>> >>>>> I mean your first line, thanks. >>>>> >>>>> _______________________________________________ >>>>> 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 >> > _______________________________________________ > users mailing list > users at lists.scilab.org > http://lists.scilab.org/mailman/listinfo/users -- 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 From sdr at durietz.se Fri Jun 25 12:37:44 2021 From: sdr at durietz.se (Stefan Du Rietz) Date: Fri, 25 Jun 2021 12:37:44 +0200 Subject: [Scilab-users] Undocking windows In-Reply-To: <777139eb-5fe6-6800-88f7-b99916a400df@utc.fr> References: <137c1bb1-68e9-5ab7-aa2f-9ff213655a51@durietz.se> <72befb30-3230-a168-84ea-2f2897d1b9c0@free.fr> <2d8ce9a2-116e-1fe2-6956-c6cd380dd05d@durietz.se> <2e76caf5-2149-d8cb-646d-1095e33aa357@durietz.se> <6f0e65ec-e378-13e7-ade2-f37e2b3bfabf@durietz.se> <777139eb-5fe6-6800-88f7-b99916a400df@utc.fr> Message-ID: <629bf143-134f-8de9-c5f9-51f8f5ffd113@durietz.se> Hello, St?phane, thank you very much! Stefan On 2021-06-24 17:51, St?phane Mottelet wrote: > > Le 24/06/2021 ? 17:41, Stefan Du Rietz a ?crit?: >> >> >> On 2021-06-24 15:45, St?phane Mottelet wrote: >>> >>> Le 24/06/2021 ? 13:09, Stefan Du Rietz a ?crit?: >>>> Hello, >>>> yes, and to get the useful part of the window a little higher. The >>>> same without toolbars (that I never use). >>>> >>>> Isn't there a text-file with window settings somewhere? >>> no >> >> But when I restart Scilab, all windows reappear in the same positions, >> Where is that information stored? > > I meant the information about toolbars, dockability is not part of this > file, which is in SCIHOME: > > SCIHOME/windowsConfiguration.xml > > >>>> >>>> In the console menu I can choose to hide the toolbar but it is not >>>> remembered >>> >>> The console can be managed by the user through its handle and the >>> visibility of the toolbar can be managed: >>> >>> c = get(0); >>> c.toolbar_visible = "off"; >>> >>> However, this is the only non-graphical window which is available >>> this way. Managing other non-graphical windows (variable browser, >>> scinotes, ...) is possible but this would need some further >>> developments. >>> >> Do you mean new Scilab source code? > > yes. > > S. > >> >> Stefan >> >>> S. >>> >>>> >>>> Regards >>>> Stefan >>>> >>>> >>>> On 2021-06-24 11:27, St?phane Mottelet wrote: >>>>> Hi, >>>>> >>>>> Why do you need this feature ? I mean, do you need a kind off >>>>> accessibility setting to prevent docking them by accident ? >>>>> >>>>> S. >>>>> >>>>> Le 18/06/2021 ? 21:00, Stefan Du Rietz a ?crit?: >>>>>> >>>>>> >>>>>> On 2021-06-18 20:53, Samuel Gougeon wrote: >>>>>>> Hello, >>>>>>> >>>>>>> Le 18/06/2021 ? 18:28, Stefan Du Rietz a ?crit?: >>>>>>>> Hello, >>>>>>>> how can I make all my Scilab windows not dockable? >>>>>>>> And how can I get rid of the toolbars? >>>>>>>> >>>>>>>> I can do both with figure windows. >>>>>>> >>>>>>> Fine. So,? with "all your Scilab windows" are you addressing the >>>>>>> console, the help browser, the file browser, xcos windows, etc ? >>>>>>> Or GUIs based on figures like the ATOMS GUI, the demos GUI, etc? >>>>>>> >>>>>> I mean your first line, thanks. >>>>>> >>>>>> _______________________________________________ >>>>>> 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 >>> >> _______________________________________________ >> users mailing list >> users at lists.scilab.org >> http://lists.scilab.org/mailman/listinfo/users >