add qpsolve primitive
Allan Cornet [Thu, 15 May 2008 14:31:58 +0000 (14:31 +0000)]
"optimization" module is loaded dynamically

TODO : update linux Makefile.am (just after)
Check on Windows x64 solution

45 files changed:
scilab/Scilab.sln
scilab/Scilab_f2c.sln
scilab/libs/LibScilab/DllmainLibscilab.c
scilab/modules/core/includes/callinterf.h
scilab/modules/core/src/c/callinterf.c
scilab/modules/core/src/c/coretable.c
scilab/modules/core/src/c/dynamic_gateways.c
scilab/modules/core/src/c/dynamic_gateways.h
scilab/modules/optimization/Makefile.am
scilab/modules/optimization/help/en_US/qp_solve.xml [new file with mode: 0644]
scilab/modules/optimization/help/en_US/qpsolve.xml [new file with mode: 0644]
scilab/modules/optimization/includes/gw_optim.h
scilab/modules/optimization/license;txt [deleted file]
scilab/modules/optimization/macros/qpsolve.sci [new file with mode: 0644]
scilab/modules/optimization/optimization.iss
scilab/modules/optimization/sci_gateway/c/gw_optimization.c [moved from scilab/modules/optimization/sci_gateway/c/gw_optim.c with 95% similarity]
scilab/modules/optimization/sci_gateway/c/sci_qp_solve.c [new file with mode: 0644]
scilab/modules/optimization/sci_gateway/fortran/bjlsqrsolv.f
scilab/modules/optimization/sci_gateway/fortran/bjsolv.f
scilab/modules/optimization/sci_gateway/fortran/blsqrsolv.f
scilab/modules/optimization/sci_gateway/fortran/bsolv.f
scilab/modules/optimization/sci_gateway/fortran/sci_f_optim.f
scilab/modules/optimization/sci_gateway/optimization_gateway.xml
scilab/modules/optimization/src/c/DllmainOptimization.c [new file with mode: 0644]
scilab/modules/optimization/src/c/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/c/optim.vcproj [deleted file]
scilab/modules/optimization/src/c/optimization.vcproj [new file with mode: 0644]
scilab/modules/optimization/src/c/optimization_f_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/c/optimization_header.def [new file with mode: 0644]
scilab/modules/optimization/src/c/optimtable.c
scilab/modules/optimization/src/fortran/LibScilab_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/fortran/Optimization_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/fortran/Optimization_f_header.def [new file with mode: 0644]
scilab/modules/optimization/src/fortran/Output_stream_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/fortran/String_Import.def [new file with mode: 0644]
scilab/modules/optimization/src/fortran/aind.f [new file with mode: 0644]
scilab/modules/optimization/src/fortran/dpofa.f [new file with mode: 0644]
scilab/modules/optimization/src/fortran/optim_f.vfproj [deleted file]
scilab/modules/optimization/src/fortran/optim_f2c.vcproj [deleted file]
scilab/modules/optimization/src/fortran/optimization_f.vfproj [new file with mode: 0644]
scilab/modules/optimization/src/fortran/optimization_f2c.vcproj [new file with mode: 0644]
scilab/modules/optimization/src/fortran/qpgen1sci.f [new file with mode: 0644]
scilab/modules/optimization/src/fortran/qpgen2.f [new file with mode: 0644]
scilab/modules/optimization/src/fortran/util.f [new file with mode: 0644]
scilab/modules/optimization/src/fortran/writebuf.f [new file with mode: 0644]

index 76e4670..bed8c4e 100644 (file)
@@ -201,13 +201,20 @@ Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "metanet_f", "modules\metane
                {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optim", "modules\optimization\src\c\optim.vcproj", "{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optimization", "modules\optimization\src\c\optimization.vcproj", "{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"
        ProjectSection(ProjectDependencies) = postProject
+               {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923} = {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923}
+               {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A}
+               {EAB6C580-22B3-4359-BA1D-DD7499A96163} = {EAB6C580-22B3-4359-BA1D-DD7499A96163}
+               {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9} = {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9}
+               {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
-Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "optim_f", "modules\optimization\src\fortran\optim_f.vfproj", "{1D219098-007C-4F76-9AE6-271ABBB7D393}"
+Project("{6989167D-11E4-40FE-8C1A-2192A86A7E90}") = "optimization_f", "modules\optimization\src\fortran\optimization_f.vfproj", "{1D219098-007C-4F76-9AE6-271ABBB7D393}"
        ProjectSection(ProjectDependencies) = postProject
+               {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923} = {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
        EndProjectSection
 EndProject
index efae58a..fb87fed 100644 (file)
@@ -170,9 +170,15 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "metanet", "modules\metanet\
                {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optim", "modules\optimization\src\c\optim.vcproj", "{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optimization", "modules\optimization\src\c\optimization.vcproj", "{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"
        ProjectSection(ProjectDependencies) = postProject
+               {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923} = {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923}
+               {13082624-97F9-47DB-A9A1-AD7D6BF3856A} = {13082624-97F9-47DB-A9A1-AD7D6BF3856A}
+               {EAB6C580-22B3-4359-BA1D-DD7499A96163} = {EAB6C580-22B3-4359-BA1D-DD7499A96163}
+               {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E} = {6A84AD8C-BA18-4A3F-9C72-EC3DF0939E9E}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9} = {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9}
+               {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "pvm", "modules\pvm\pvm.vcproj", "{63352867-3983-48E3-94FE-DD8F0D6E921F}"
@@ -527,9 +533,13 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "metanet_f2c", "modules\meta
                {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optim_f2c", "modules\optimization\src\fortran\optim_f2c.vcproj", "{1D219098-007C-4F76-9AE6-271ABBB7D393}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "optimization_f2c", "modules\optimization\src\fortran\optimization_f2c.vcproj", "{1D219098-007C-4F76-9AE6-271ABBB7D393}"
        ProjectSection(ProjectDependencies) = postProject
+               {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923} = {69296D00-0DE1-4F4B-B0CE-FE4F3CB43923}
+               {8D45767A-9B03-4905-97F6-D2F3F79141EA} = {8D45767A-9B03-4905-97F6-D2F3F79141EA}
                {3170E4C2-1173-4264-A222-7EE8CCB3DDF7} = {3170E4C2-1173-4264-A222-7EE8CCB3DDF7}
+               {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9} = {78BD64CE-181D-4D3F-9254-5C4F55C1EDC9}
+               {A5911CD7-F8E8-440C-A23E-4843A0636F3A} = {A5911CD7-F8E8-440C-A23E-4843A0636F3A}
        EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "polynomials_f2c", "modules\polynomials\src\fortran\polynomials_f2c.vcproj", "{3A72C3ED-98F7-49C7-B59C-2C6C47FF9390}"
index 84a131d..d0a0f4b 100644 (file)
@@ -49,7 +49,6 @@
 #pragma comment(lib,"../../libs/elementary_functions_f.lib")
 #pragma comment(lib,"../../libs/dcd_f.lib")
 #pragma comment(lib,"../../libs/core_f.lib")
-#pragma comment(lib,"../../libs/optim_f.lib")
 #pragma comment(lib,"../../libs/signal_f.lib")
 #pragma comment(lib,"../../libs/polynomials_f.lib")
 #pragma comment(lib,"../../libs/cacsd_f.lib")
index 9cbe6b9..649a7a2 100644 (file)
@@ -32,7 +32,7 @@
 /* 08 */                                               #include "../../cacsd/includes/gw_cacsd0.h"
 /* 09 */                                               #include "../../cacsd/includes/gw_cacsd1.h"
 /* 10 */                                               #include "../../cacsd/includes/gw_cacsd2.h"
-/* 11 */                                               #include "../../optimization/includes/gw_optim.h"
+/* 11 */                                               #include "dynamic_gateways.h" /* optimization */
 /* 12 */                                               #include "../../differential_equations/includes/gw_differential_equations1.h"
 /* 13 */                                               #include "gw_core.h"
 /* 14  gw_user(); FREE */
index 33d05bd..2dc7449 100644 (file)
@@ -43,7 +43,7 @@ static OpTab Interfaces[] = {
        /* 08  */ {gw_cacsd0},
        /* 09  */ {gw_cacsd1},
        /* 10  */ {gw_cacsd2},
-       /* 11  */ {gw_optim},
+       /* 11  */ {gw_dynamic_optimization},
        /* 12  */ {gw_differential_equations1},
        /* 13  */ {gw_core},
        /* 14  */ {gw_user},
index ae68c84..3bd743f 100644 (file)
 #define ARGS_interf void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *,void *
 typedef integer * (*interff)(ARGS_interf);
 
-
 #define ARGS_interf1 char *,long int
 typedef integer * (*interff1)(ARGS_interf1);
 
 /**************** interf ***************/
-extern void C2F(icse0)(ARGS_interf);
-extern void C2F(icse)(ARGS_interf);
-extern void C2F(icscof)(ARGS_interf);
 void C2F(interf)(ARGS_interf);
 void C2F(interf1)(ARGS_interf1);
 void C2F(setinterf)(char *name, int *rep);
 
 FTAB FTab_interf[] =
 {
-       {"icscof", (voidf)  C2F(icscof)},
-       {"icse", (voidf)  C2F(icse)},
-       {"icse0", (voidf)  C2F(icse0)},
        {(char *) 0, (voidf) 0}
 };
 
index 1db90f7..5b3ee3d 100644 (file)
 #include "callDynamicGateway.h"
 #include "gw_dynamic_generic.h"
 /*--------------------------------------------------------------------------*/
+/* optimization module */
+#define OPTIMIZATION_MODULE_NAME "optimization"
+static DynLibHandle hOptimizationLib = NULL;
+static PROC_GATEWAY ptr_gw_optimization = NULL;
+static char* dynlibname_optimization = NULL;
+static char* gatewayname_optimization = NULL;
+/*--------------------------------------------------------------------------*/
+int gw_dynamic_optimization(void)
+{
+       return gw_dynamic_generic(OPTIMIZATION_MODULE_NAME,
+               &dynlibname_optimization,
+               &gatewayname_optimization,
+               &hOptimizationLib,
+               &ptr_gw_optimization);
+}
+/*--------------------------------------------------------------------------*/
 /* matio module */
 #define MATIO_MODULE_NAME "matio"
 static DynLibHandle hMatioLib = NULL;
index 2935abc..d470724 100644 (file)
 #ifndef __DYNAMIC_GATEWAYS_H__
 #define __DYNAMIC_GATEWAYS_H__
 
+/**
+* optimization gateway
+* optimization is loaded dynamically at runtime
+* load gw_optimization in SCI/modules/optimization/sci_gateway/gw_optimization.c
+*/
+int gw_dynamic_optimization(void);
 
 /**
 * matio gateway
index 930ccd6..d8889a8 100644 (file)
@@ -111,15 +111,22 @@ src/fortran/anfm06.f \
 src/fortran/calbx.f \
 src/fortran/r1mpyq.f \
 src/fortran/rednor.f \
-src/fortran/zgcbd.f
+src/fortran/zgcbd.f \
+src/fortran/writebuf.f \
+src/fortran/aind.f \
+src/fortran/dpofa.f \
+src/fortran/qpgen1sci.f \
+src/fortran/qpgen2.f \
+src/fortran/util.f
 
 GATEWAY_C_SOURCES = sci_gateway/c/sci_semidef.c \
 sci_gateway/c/sci_qld.c \
-sci_gateway/c/gw_optim.c \
+sci_gateway/c/gw_optimization.c \
 sci_gateway/c/sci_quapro.c \
 sci_gateway/c/sci_optim.c \
 sci_gateway/c/sci_fsolv.c \
-sci_gateway/c/sci_sqrsolve.c
+sci_gateway/c/sci_sqrsolve.c \
+sci_gateway/c/sci_qp_solve.c
 
 GATEWAY_FORTRAN_SOURCES =  sci_gateway/fortran/sci_f_semidef.f \
 sci_gateway/fortran/sci_f_fsolve.f \
diff --git a/scilab/modules/optimization/help/en_US/qp_solve.xml b/scilab/modules/optimization/help/en_US/qp_solve.xml
new file mode 100644 (file)
index 0000000..a917320
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="qp_solve"><info><pubdate>March 2008</pubdate></info><refnamediv><refname>qp_solve</refname><refpurpose> linear quadratic programming solver builtin</refpurpose></refnamediv>
+  
+  
+  
+  
+  
+  <refsynopsisdiv><title>Calling Sequence</title><synopsis>[x [,iact [,iter [,f]]]]=qp_solve(Q,p1,C1,b,me)</synopsis></refsynopsisdiv>
+  <refsection><title>Parameters</title><variablelist><varlistentry><term>Q</term><listitem><para>real positive definite symmetric matrix (dimension <literal>n x n</literal>).</para></listitem></varlistentry><varlistentry><term>p</term><listitem><para>real (column) vector (dimension <literal> n</literal>)</para></listitem></varlistentry><varlistentry><term>C</term><listitem><para>real matrix (dimension <literal> (me + md) x
+          n</literal>). This matrix may be stored as either a dense
+          matrix either a sparse one. </para></listitem></varlistentry><varlistentry><term>b</term><listitem><para>RHS column vector (dimension <literal> (me + md)</literal>)</para></listitem></varlistentry><varlistentry><term>me</term><listitem><para>number of equality constraints (i.e. <literal>x'*C(:,1:me) = b(1:me)'</literal>)</para></listitem></varlistentry><varlistentry><term>x</term><listitem><para>optimal solution found.</para></listitem></varlistentry><varlistentry><term>iact</term><listitem><para>vector, indicator of active constraints. The first non
+         zero entries give the index of the active constraints</para></listitem></varlistentry><varlistentry><term>iter</term><listitem><para>. 2x1 vector, first component gives the number of "main" 
+        iterations, the second one says how many constraints were
+        deleted after they became active.</para></listitem></varlistentry></variablelist></refsection>
+  <refsection><title>Description</title><para>Minimize <literal> 0.5*x'*Q*x - p'*x</literal></para><para>under the constraints</para><programlisting><![CDATA[
+
+ x' C(:,j) = b(j),  j=1,...,me
+ x' C(:,j) >= b(j), j=me+1,...,me+md
+   
+    ]]></programlisting><para>This function requires  <literal>Q</literal> to be positive definite, if it is
+      not the case, one may use the <link linkend="quapro">quapro</link> function.</para><para>This is a builtin associated with the Berwin A. Turlach
+    code. Use preferabily the <link linkend="qpgen">qpgen</link> function built on it which handles 
+    variable boundaries and  match the <link linkend="quapro">quapro</link> problem definition</para></refsection>
+  <refsection><title>Examples</title><programlisting role="example"><![CDATA[
+
+//Find x in R^6 such that:
+//x'*C1 = b1 (3 equality constraints i.e me=3)
+C1= [ 1,-1, 2;
+     -1, 0, 5;
+      1,-3, 3;
+      0,-4, 0;
+      3, 5, 1;
+      1, 6, 0];
+b1=[1;2;3];
+
+//x'*C2 >= b2 (2 inequality constraints)
+C2= [ 0 ,1;
+     -1, 0;
+      0,-2;
+     -1,-1;
+     -2,-1;
+      1, 0];
+b2=[ 1;-2.5];
+
+//and minimize 0.5*x'*Q*x - p'*x with
+p=[-1;-2;-3;-4;-5;-6]; Q=eye(6,6);
+
+me=3;
+[x,iact,iter,f]=qp_solve(Q,p,[C1 C2],[b1;b2],me)
+//Only linear constraints (1 to 4) are active 
+  ]]></programlisting></refsection>
+  <refsection><title>See Also</title><simplelist type="inline">
+    <member>
+      <link linkend="quapro">quapro</link>
+    </member>
+    <member>
+      <link linkend="optim">optim</link>
+    </member>
+  </simplelist></refsection>
+  <refsection><title>Authors</title><variablelist><varlistentry><term>S. Steer</term><listitem><para>, INRIA (Scilab interface)</para></listitem></varlistentry><varlistentry><term>Berwin A. Turlach</term><listitem><para>,School of Mathematics and
+    Statistics (M019), The University of Western Australia, Crawley,
+    AUSTRALIA (solver code)</para></listitem></varlistentry></variablelist></refsection>
+  <refsection><title>Used Functions</title><para>qpgen2.f and &gt;qpgen1.f (also named QP.solve.f) developped by Berwin A. Turlach according to the Goldfarb/Idnani algorithm</para></refsection>
+
+</refentry>
\ No newline at end of file
diff --git a/scilab/modules/optimization/help/en_US/qpsolve.xml b/scilab/modules/optimization/help/en_US/qpsolve.xml
new file mode 100644 (file)
index 0000000..9cbca5b
--- /dev/null
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="qpsolve"><info><pubdate>March 2008</pubdate></info><refnamediv><refname>qpsolve</refname><refpurpose> linear quadratic programming solver</refpurpose></refnamediv>
+  
+  
+  
+  
+  
+  <refsynopsisdiv><title>Calling Sequence</title><synopsis>[x [,iact [,iter [,f]]]]=qpsolve(Q,p,C,b,ci,cs,me)</synopsis></refsynopsisdiv>
+  <refsection><title>Parameters</title><variablelist><varlistentry><term>Q</term><listitem><para>real positive definite symmetric matrix (dimension <literal>n x n</literal>).</para></listitem></varlistentry><varlistentry><term>p</term><listitem><para>real (column) vector (dimension <literal> n</literal>)</para></listitem></varlistentry><varlistentry><term>C</term><listitem><para>real matrix (dimension <literal> (me + md) x
+          n</literal>). This matrix may be stored as either a dense
+          matrix either a sparse one. </para></listitem></varlistentry><varlistentry><term>b</term><listitem><para>RHS column vector (dimension <literal> (me + md)</literal>)</para></listitem></varlistentry><varlistentry><term>ci</term><listitem><para>column vector of lower-bounds (dimension <literal>n</literal>). If
+           there are no lower bound constraints, put <literal>ci = []</literal>. If
+           some components of <literal>x</literal> are bounded from below, set the
+           other (unconstrained) values of <literal>ci</literal> to a very  large
+           negative  number (e.g. <literal>ci(j) =
+             -number_properties('huge')</literal>.</para></listitem></varlistentry><varlistentry><term>cs</term><listitem><para>column vector of upper-bounds. (Same remarks as above).</para></listitem></varlistentry><varlistentry><term>me</term><listitem><para>number of equality constraints (i.e. <literal>C(1:me,:)*x = b(1:me)</literal>)</para></listitem></varlistentry><varlistentry><term>x</term><listitem><para>optimal solution found.</para></listitem></varlistentry><varlistentry><term>iact</term><listitem><para>vector, indicator of active constraints. The first non
+         zero entries give the index of the active constraints</para></listitem></varlistentry><varlistentry><term>iter</term><listitem><para>. 2x1 vector, first component gives the number of "main" 
+        iterations, the second one says how many constraints were
+        deleted after they became active.</para></listitem></varlistentry></variablelist></refsection>
+  <refsection><title>Description</title><para>Minimize <literal> 0.5*x'*Q*x + p'*x</literal></para><para>under the constraints</para><programlisting><![CDATA[
+
+ C(j,:) x = b(j),  j=1,...,me
+ C(j,:) x <= b(j), j=me+1,...,me+md
+ ci <= x <= cs
+   
+    ]]></programlisting><para>This function requires  <literal>Q</literal> to be positive definite, if it is
+      not the case, one may use the <link linkend="quapro">quapro</link> function.</para></refsection>
+  <refsection><title>Examples</title><programlisting role="example"><![CDATA[
+
+//Find x in R^6 such that:
+//C1*x = b1 (3 equality constraints i.e me=3)
+C1= [1,-1,1,0,3,1;
+    -1,0,-3,-4,5,6;
+     2,5,3,0,1,0];
+b1=[1;2;3];
+//C2*x <= b2 (2 inequality constraints)
+C2=[0,1,0,1,2,-1;
+    -1,0,2,1,1,0];
+b2=[-1;2.5];
+//with  x between ci and cs:
+ci=[-1000;-10000;0;-1000;-1000;-1000];cs=[10000;100;1.5;100;100;1000];
+//and minimize 0.5*x'*Q*x + p'*x with
+p=[1;2;3;4;5;6]; Q=eye(6,6);
+//No initial point is given;
+C=[C1;C2] ; //
+b=[b1;b2] ;  //
+me=3;
+[x,iact,iter,f]=qpsolve(Q,p,C,b,ci,cs,me)
+//Only linear constraints (1 to 4) are active 
+  ]]></programlisting></refsection>
+  <refsection><title>See Also</title><simplelist type="inline">
+    <member>
+      <link linkend="quapro">quapro</link>
+    </member>
+    <member>
+      <link linkend="optim">optim</link>
+    </member>
+    <member>
+      <link linkend="qp_solve">qp_solve</link>
+    </member>
+  </simplelist></refsection>
+  <refsection><title>Authors</title><variablelist><varlistentry><term>S. Steer</term><listitem><para>, INRIA (Scilab interface)</para></listitem></varlistentry><varlistentry><term>Berwin A. Turlach</term><listitem><para>,School of Mathematics and
+    Statistics (M019), The University of Western Australia, Crawley,
+    AUSTRALIA (solver code)</para></listitem></varlistentry></variablelist></refsection>
+  <refsection><title>Used Functions</title><para>qpgen1.f (also named QP.solve.f) developped by Berwin A. Turlach according to the Goldfarb/Idnani algorithm</para></refsection>
+
+</refentry>
\ No newline at end of file
index a5702cd..a5f821f 100644 (file)
@@ -15,7 +15,7 @@
 /*--------------------------------------------------------------------------*/
 #include "machine.h"
 /*--------------------------------------------------------------------------*/
-int gw_optim(void);
+int gw_optimization(void);
 /*--------------------------------------------------------------------------*/
 int C2F(sci_optim) (char *fname,unsigned long fname_len);
 int C2F(sci_semidef) (char *fname,unsigned long fname_len);
@@ -29,6 +29,7 @@ int C2F(intlsqrsolve) (char *fname,unsigned long fname_len);
 int C2F(scioptim) (char *fname,unsigned long fname_len);
 int C2F(scisolv)  (char *fname,unsigned long fname_len);
 int C2F(scisemidef)(char *fname,unsigned long fname_len);
+int C2F(sci_qp_solve)(char *fname,unsigned long fname_len);
 /*--------------------------------------------------------------------------*/
 #endif /*  __GW_OPTIM__ */
 /*--------------------------------------------------------------------------*/
diff --git a/scilab/modules/optimization/license;txt b/scilab/modules/optimization/license;txt
deleted file mode 100644 (file)
index 780b142..0000000
+++ /dev/null
@@ -1 +0,0 @@
-INRIA 2006
diff --git a/scilab/modules/optimization/macros/qpsolve.sci b/scilab/modules/optimization/macros/qpsolve.sci
new file mode 100644 (file)
index 0000000..a060afc
--- /dev/null
@@ -0,0 +1,28 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) INRIA - Serge Steer
+// 
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution.  The terms
+// are also available at    
+// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+//
+
+function [x, iact, iter, f]=qpsolve(Q,p,C,b,ci,cs,me)
+  Cb=[];bb=[];
+  isCsparse=typeof(C)=='sparse'|ci<>[]|cs<>[]
+  C(me+1:$,:)=-C(me+1:$,:);
+  b(me+1:$)=-b(me+1:$);
+  // replace boundary contraints by linear constraints
+  Cb=[];bb=[];
+  if ci<>[] then
+    Cb=[Cb;speye(Q)]
+    bb=[bb;ci]
+  end
+  if cs<>[] then
+    Cb=[Cb;speye(Q)]
+    bb=[bb;-cs]
+  end
+  C=[C;Cb];b=[b;bb]
+  [x, iact, iter, f]=qp_solve(Q,-p,C',b,me)
+endfunction
index 4c953dc..6eaf719 100644 (file)
@@ -10,6 +10,9 @@
 ;
 #define OPTIMIZATION "optimization"
 ;
+Source: bin\optimization_f.dll; DestDir: {app}\bin; Components: {COMPN_OPTIM}
+Source: bin\optimization.dll; DestDir: {app}\bin; Components: {#COMPN_OPTIM}
+;
 Source: modules\{#OPTIMIZATION}\VERSION.xml; DestDir: {app}\modules\{#OPTIMIZATION}; Components: {#COMPN_OPTIM}
 Source: modules\{#OPTIMIZATION}\readme.txt; DestDir: {app}\modules\{#OPTIMIZATION}; Components: {#COMPN_OPTIM}
 Source: modules\{#OPTIMIZATION}\license.txt; DestDir: {app}\modules\{#OPTIMIZATION}; Components: {#COMPN_OPTIM}
@@ -23,9 +23,10 @@ static gw_generic_table Tab[]=
 {C2F(sci_fsolve),"fsolve"},
 {C2F(sci_sqrsolve),"sqrsolve"},
 {C2F(sci_qld),"qld"},
+{C2F(sci_qp_solve),"qp_solve"}
 };
 /*--------------------------------------------------------------------------*/
-int gw_optim(void)
+int gw_optimization(void)
 {  
        Rhs = Max(0, Rhs);
        callFunctionFromGateway(Tab);
diff --git a/scilab/modules/optimization/sci_gateway/c/sci_qp_solve.c b/scilab/modules/optimization/sci_gateway/c/sci_qp_solve.c
new file mode 100644 (file)
index 0000000..184e3b8
--- /dev/null
@@ -0,0 +1,177 @@
+/*\r
+* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\r
+* Copyright (C) 2008 - INRIA - Serge Steer\r
+* \r
+* This file must be used under the terms of the CeCILL.\r
+* This source file is licensed as described in the file COPYING, which\r
+* you should have received as part of this distribution.  The terms\r
+* are also available at    \r
+* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt\r
+*\r
+*/\r
+\r
+/*--------------------------------------------------------------------------*/ \r
+#include <string.h>\r
+#include "gw_optim.h"\r
+#include "machine.h"\r
+#include "stack-c.h"\r
+#include "MALLOC.h"\r
+#include "Scierror.h"\r
+#include "localization.h"\r
+/*--------------------------------------------------------------------------*/ \r
+/* fortran subroutines */\r
+extern int C2F(qpgen2)(double *dmat, double *dvec, int *fddmat, int *n, \r
+                                          double *sol, double *crval, double *amat, double *bvec, \r
+                                          int *fdamat, int *q, int *meq, int *iact, int *nact, \r
+                                          int *iter, double *work, int *ierr);  \r
+extern int C2F(qpgen1sci)(double *dmat, double *dvec, int *fddmat, int *n, double *sol, double *crval, \r
+                                                 int *colnnz, int *nzrindex, double *amat,\r
+                                                 double *bvec, int *q, int *meq, int *iact, int *nact, \r
+                                                 int *iter, double *work, int *ierr);  \r
+extern int C2F(spt)(int *m, int *n, int *nel, int *it, int *ptr, \r
+                                       double *A_R,  double *A_I, int *mnel,  int *A_icol, \r
+                                       double *At_R, double *At_I,int *At_mnel, int *At_icol);\r
+/*--------------------------------------------------------------------------*/ \r
+int C2F(sci_qp_solve)(char *fname,unsigned long fname_len)\r
+{\r
+       static int un = 1,deux = 2;\r
+\r
+       static int Q = 0, n = 0, nbis = 0;\r
+       static int p = 0, unbis = 0;\r
+       static int C = 0, m = 0;\r
+       static int b = 0, mbis = 0;\r
+       static int me = 0, pipo = 0;\r
+       static int x = 0, iter = 0, iact = 0, nact = 0,crval = 0,ierr = 0;\r
+       int next = 0,r = 0;\r
+       static int lw = 0,  k = 0;\r
+       static SciSparse Sp;\r
+       static int issparse = 0;\r
+       double *work = NULL;\r
+\r
+       /*   Check rhs and lhs   */\r
+       CheckRhs(5,5) ;\r
+       CheckLhs(1,4) ;\r
+\r
+       /*Warning this interface does not support arguments passed by reference */\r
+\r
+       /* RhsVar: qp_solve(Q,p,C,b,me) */\r
+       /*                1,2,3,4,5   */\r
+       next = Rhs+1;\r
+       /*   Variable 1 (Q)   */\r
+       GetRhsVar(1,MATRIX_OF_DOUBLE_DATATYPE, &n, &nbis, &Q);\r
+       CheckSquare(1,n,nbis);\r
+\r
+       /*   Variable 2 (p)   */\r
+       GetRhsVar(2,MATRIX_OF_DOUBLE_DATATYPE, &nbis, &unbis, &p);\r
+       CheckLength(2,nbis*unbis,n);\r
+\r
+       /*   Variable 3 (C)   */\r
+       issparse =  (GetType(3)==5);\r
+       if (!issparse) \r
+       {\r
+               GetRhsVar(3,MATRIX_OF_DOUBLE_DATATYPE, &nbis, &m, &C);\r
+       }\r
+       else \r
+       {\r
+               GetRhsVar(3,SPARSE_MATRIX_DATATYPE, &nbis, &m, &Sp);\r
+       }\r
+\r
+       if (( nbis != n ) && (m > 0))\r
+       {\r
+               Scierror(205,_("%s: Argument 3: wrong number of columns %d expected\n"), fname, n);\r
+               return 0;\r
+    }\r
+\r
+       /*   Variable 4 (b)   */\r
+       GetRhsVar(4,MATRIX_OF_DOUBLE_DATATYPE, &mbis, &unbis, &b);\r
+       CheckLength(4,mbis*unbis,m);\r
+\r
+       /*   Variable 5 (me)   */\r
+       GetRhsVar(5,MATRIX_OF_INTEGER_DATATYPE, &pipo, &unbis, &me);\r
+       CheckScalar(5,pipo,unbis);\r
+       if ((*istk(me)<0) || (*istk(me)>n))\r
+       {\r
+               Err = 7;\r
+               Error(116);\r
+               return 0;\r
+       }\r
+\r
+       /* Lhs variables: x, iact, iter, crval */\r
+       next= Rhs;\r
+       CreateVar(next+1,MATRIX_OF_DOUBLE_DATATYPE, &n, &un, &x);\r
+       CreateVar(next+2,MATRIX_OF_INTEGER_DATATYPE, &m, &un, &iact);\r
+       CreateVar(next+3,MATRIX_OF_INTEGER_DATATYPE, &deux, &un, &iter);\r
+       CreateVar(next+4,MATRIX_OF_DOUBLE_DATATYPE, &un, &un, &crval);\r
+\r
+       r = Min(n,m);\r
+       lw =  2*n+r*(r+5)/2 + 2*m +1;\r
+       if((work=(double *)MALLOC(lw*sizeof(double)))==NULL) \r
+       {\r
+               Scierror(999,_("%s: Cannot allocate more memory.\n"),fname);\r
+       }\r
+       /* change the sign of  C and b.*/\r
+       ierr=0;\r
+       if (!issparse) \r
+       { \r
+               /* linear constraints matrix is stored full */\r
+               C2F(qpgen2)(stk(Q), stk(p), &n, &n,  stk(x), stk(crval), stk(C),\r
+               stk(b), &n, &m, istk(me), istk(iact), &nact,istk(iter), work, \r
+               &ierr);\r
+       }\r
+       else \r
+       { \r
+               /* linear constraints matrix is a sparse matrix */\r
+               /* Change the linear constraints matrix representation:\r
+               qpgen1sci requires column-compressed sparse matrix internal \r
+               representation while Scilab sparse matrices are row-compressed */\r
+               double *R = NULL, *I = NULL;\r
+               int *ind = NULL;\r
+\r
+               if((R=(double *)MALLOC(Sp.nel*sizeof(double)))==NULL) \r
+               {\r
+                       FREE(work);\r
+                       work = NULL;\r
+                       Scierror(999,_("%s: Cannot allocate more memory.\n"),fname);\r
+               }\r
+               if((ind=(int *)MALLOC((m+Sp.nel)*sizeof(int)))==NULL) \r
+               {\r
+                       FREE(work);\r
+                       work = NULL;\r
+                       FREE(R);\r
+                       R = NULL;\r
+                       Scierror(999,_("%s: Cannot allocate more memory.\n"),fname);\r
+               }\r
+   \r
+               C2F(spt)(&n, &m, &(Sp.nel) ,  &(Sp.it), (int *)work, \r
+                               Sp.R,  Sp.I,  Sp.mnel,  Sp.icol, R, I,ind,ind+m);\r
+\r
+               C2F(qpgen1sci)(stk(Q), stk(p), &n, &n,  stk(x), stk(crval), \r
+                                               ind, ind+m,  R, \r
+                                               stk(b),&m, istk(me), istk(iact), &nact,istk(iter),\r
+                                               work, &ierr);\r
+               FREE(work);\r
+               work = NULL;\r
+               FREE(R);\r
+               R = NULL;\r
+               FREE(ind);\r
+               ind = NULL;\r
+       }\r
+       for (k=nact; k<m; k++) istk(iact)[k]=0;\r
+       /* LhsVar: [x, iact, iter, f] = qp_solve(...) */\r
+\r
+       if (ierr == 0) \r
+       {\r
+               for (k=0;k<Lhs;k++) LhsVar(1+k) = next+1+k;\r
+               C2F(putlhsvar)();\r
+       }\r
+       else if (ierr == 1)\r
+       {\r
+               Scierror(999,_("%s: The minimization problem has no solution\n"),fname);\r
+       }\r
+       else if (ierr == 2)\r
+       {\r
+               Scierror(999,_("%s: Q is not symmetric positive definite.\n"),fname);\r
+       }\r
+       return 0;\r
+}\r
+/*--------------------------------------------------------------------------*/ \r
index cffa3d7..ddc7d1b 100644 (file)
@@ -27,8 +27,8 @@ c
 
 c
       if (ddt .eq. 4) then
-         write(buf(1:12),'(3i4)') top,r,sym
-         call basout(io,wte,' bjlsqrsolve  top:'//buf(1:4))
+        call writebufbjsqrsolv(buf,top,r,sym)
+        call basout(io,wte,' bjlsqrsolve  top:'//buf(1:4))
       endif
       iflag=iero
 c
index 59b4d28..dbd75b6 100644 (file)
@@ -28,8 +28,8 @@ c
 
 c
       if (ddt .eq. 4) then
-         write(buf(1:12),'(3i4)') top,r,sym
-         call basout(io,wte,' bsolve  top:'//buf(1:4))
+        call writebufbjsolv(buf,top,r,sym)
+        call basout(io,wte,' bsolve  top:'//buf(1:4))
       endif
       
 c     nordre est le numero d'ordre de cet external dans la structure
index 9624843..6666b6e 100644 (file)
@@ -27,8 +27,8 @@ c
 
 c
       if (ddt .eq. 4) then
-         write(buf(1:12),'(3i4)') top,r,sym
-         call basout(io,wte,' lsqrsolve  top:'//buf(1:4))
+        call writebufblsqrsolv(buf,top,r,sym)
+        call basout(io,wte,' lsqrsolve  top:'//buf(1:4))
       endif
 c
 c     nordre est le numero d'ordre de cet external dans la structure
index 480cf1b..7ebc09d 100644 (file)
@@ -27,7 +27,7 @@ c
 
 c
       if (ddt .eq. 4) then
-         write(buf(1:12),'(3i4)') top,r,sym
+         call writebufbsolv(buf,top,r,sym)
          call basout(io,wte,' bsolve  top:'//buf(1:4))
       endif
 c
index 93dd892..6ae2154 100644 (file)
@@ -970,10 +970,10 @@ c     commentaires finaux
  360  continue
       if(imp.ne.0) then
          if(indopt.eq.1) then
-            write(buf(1:15),'(1pd15.7)') epsg
+            call writebufscioptim(buf,epsg)
             call msgs(12,0)
          elseif(indopt.eq.2) then
-            write(buf(1:15),'(1pd15.7)') epsf
+            call writebufscioptim(buf,epsg)
             call msgs(13,0)
          elseif(indopt.eq.3)  then
             call msgs(14,0)
index e9539d9..a22791d 100644 (file)
@@ -37,4 +37,5 @@
 <PRIMITIVE gatewayId="11" primitiveId="4" primitiveName="fsolve" />
 <PRIMITIVE gatewayId="11" primitiveId="5" primitiveName="lsqrsolve" />
 <PRIMITIVE gatewayId="11" primitiveId="6" primitiveName="qld" />
+<PRIMITIVE gatewayId="11" primitiveId="7" primitiveName="qp_solve" />
 </GATEWAY>
diff --git a/scilab/modules/optimization/src/c/DllmainOptimization.c b/scilab/modules/optimization/src/c/DllmainOptimization.c
new file mode 100644 (file)
index 0000000..af40968
--- /dev/null
@@ -0,0 +1,33 @@
+/*\r
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\r
+ * Copyright (C) 2006 - INRIA - Allan CORNET\r
+ * \r
+ * This file must be used under the terms of the CeCILL.\r
+ * This source file is licensed as described in the file COPYING, which\r
+ * you should have received as part of this distribution.  The terms\r
+ * are also available at    \r
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt\r
+ *\r
+ */\r
\r
+#include <windows.h> \r
+/*--------------------------------------------------------------------------*/ \r
+#pragma comment(lib,"../../../../bin/libintl.lib")\r
+/*--------------------------------------------------------------------------*/ \r
+int WINAPI DllMain (HINSTANCE hInstance , DWORD reason, PVOID pvReserved)\r
+{\r
+  switch (reason) \r
+    {\r
+    case DLL_PROCESS_ATTACH:\r
+      break;\r
+    case DLL_PROCESS_DETACH:\r
+      break;\r
+    case DLL_THREAD_ATTACH:\r
+      break;\r
+    case DLL_THREAD_DETACH:\r
+      break;\r
+    }\r
+  return 1;\r
+}\r
+/*--------------------------------------------------------------------------*/ \r
+\r
diff --git a/scilab/modules/optimization/src/c/LibScilab_Import.def b/scilab/modules/optimization/src/c/LibScilab_Import.def
new file mode 100644 (file)
index 0000000..42a26fc
--- /dev/null
@@ -0,0 +1,22 @@
+       LIBRARY    Libscilab.dll\r
+\r
+\r
+EXPORTS\r
+;core\r
+com_\r
+vstk_\r
+callFunctionFromGateway\r
+checklhs_\r
+checkrhs_\r
+getrhsvar_ \r
+putlhsvar_\r
+intersci_\r
+iop_\r
+check_scalar\r
+stack_\r
+createvar_ \r
+check_length\r
+check_square\r
+gettype_\r
+;\r
+\r
diff --git a/scilab/modules/optimization/src/c/optim.vcproj b/scilab/modules/optimization/src/c/optim.vcproj
deleted file mode 100644 (file)
index 802a5a3..0000000
+++ /dev/null
@@ -1,429 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-       ProjectType="Visual C++"
-       Version="9,00"
-       Name="optim"
-       ProjectGUID="{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"
-       
-       >
-       <Platforms>
-               <Platform
-                       Name="Win32"
-               />
-               <Platform
-                       Name="x64"
-               />
-       </Platforms>
-       <ToolFiles>
-       </ToolFiles>
-       <Configurations>
-               <Configuration
-                       Name="Debug|Win32"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               Optimization="0"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../dynamic_link/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="_LIB;STRICT;_DEBUG;_CRT_SECURE_NO_DEPRECATE"
-                               BasicRuntimeChecks="0"
-                               RuntimeLibrary="1"
-                               UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
-                               WarningLevel="3"
-                               SuppressStartupBanner="true"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                               CompileAs="0"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="_DEBUG"
-                               Culture="1036"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim.lib"
-                               SuppressStartupBanner="true"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim.def &gt;nul&#x0D;&#x0A;copy optim.def ..\..\..\..\..\libs\optim.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Debug|x64"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               TargetEnvironment="3"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               Optimization="0"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../dynamic_link/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="_LIB;STRICT;_DEBUG;_CRT_SECURE_NO_DEPRECATE"
-                               BasicRuntimeChecks="0"
-                               RuntimeLibrary="1"
-                               UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
-                               WarningLevel="3"
-                               SuppressStartupBanner="true"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                               CompileAs="0"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="_DEBUG"
-                               Culture="1036"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim.lib"
-                               SuppressStartupBanner="true"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim.def &gt;nul&#x0D;&#x0A;copy optim.def ..\..\..\..\..\libs\optim.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Release|Win32"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               Optimization="2"
-                               InlineFunctionExpansion="1"
-                               FavorSizeOrSpeed="1"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../dynamic_link/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="NDEBUG;_LIB;STRICT;_CRT_SECURE_NO_DEPRECATE"
-                               StringPooling="true"
-                               RuntimeLibrary="0"
-                               EnableFunctionLevelLinking="true"
-                               EnableEnhancedInstructionSet="1"
-                               UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
-                               WarningLevel="3"
-                               SuppressStartupBanner="true"
-                               Detect64BitPortabilityProblems="false"
-                               CompileAs="0"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="NDEBUG"
-                               Culture="1036"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim.lib"
-                               SuppressStartupBanner="true"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim.def &gt;nul&#x0D;&#x0A;copy optim.def ..\..\..\..\..\libs\optim.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Release|x64"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       UseOfMFC="0"
-                       ATLMinimizesCRunTimeLibraryUsage="false"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               TargetEnvironment="3"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               Optimization="2"
-                               InlineFunctionExpansion="1"
-                               FavorSizeOrSpeed="1"
-                               AdditionalIncludeDirectories="../../includes;../../../core/includes;../../../output_stream/includes;../../../localization/includes;../../../dynamic_link/includes;../../../../libs/MALLOC/includes;../../../../libs/intl"
-                               PreprocessorDefinitions="NDEBUG;_LIB;STRICT;_CRT_SECURE_NO_DEPRECATE"
-                               StringPooling="true"
-                               RuntimeLibrary="0"
-                               EnableFunctionLevelLinking="true"
-                               EnableEnhancedInstructionSet="0"
-                               UsePrecompiledHeader="0"
-                               PrecompiledHeaderFile=""
-                               AssemblerListingLocation="$(ConfigurationName)/"
-                               ObjectFile="$(ConfigurationName)/"
-                               ProgramDataBaseFileName="$(ConfigurationName)/"
-                               WarningLevel="3"
-                               SuppressStartupBanner="true"
-                               Detect64BitPortabilityProblems="false"
-                               CompileAs="0"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               PreprocessorDefinitions="NDEBUG"
-                               Culture="1036"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim.lib"
-                               SuppressStartupBanner="true"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               CommandLine="cd &quot;$(IntDir)&quot; &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n libscilab.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim.def &gt;nul&#x0D;&#x0A;copy optim.def ..\..\..\..\..\libs\optim.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"
-                       />
-               </Configuration>
-       </Configurations>
-       <References>
-       </References>
-       <Files>
-               <Filter
-                       Name="Source Files"
-                       Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
-                       >
-                       <File
-                               RelativePath=".\fsolvetable.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\gw_optim.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\intqld.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lsqrsolvtable.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\optimtable.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_fsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_optim.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_qld.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_quapro.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_semidef.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\c\sci_sqrsolve.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\sp.c"
-                               >
-                       </File>
-               </Filter>
-               <Filter
-                       Name="Header Files"
-                       Filter="h;hpp;hxx;hm;inl"
-                       >
-                       <File
-                               RelativePath="..\..\includes\gw_optim.h"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\includes\spd.h"
-                               >
-                       </File>
-               </Filter>
-               <Filter
-                       Name="localization"
-                       >
-                       <File
-                               RelativePath="..\..\locales\en_US\messages.pot"
-                               >
-                       </File>
-               </Filter>
-               <Filter
-                       Name="Libraries Dependencies"
-                       >
-               </Filter>
-               <File
-                       RelativePath="..\..\Makefile.am"
-                       >
-               </File>
-               <File
-                       RelativePath="..\..\optimization.iss"
-                       >
-               </File>
-               <File
-                       RelativePath="..\..\sci_gateway\optimization_gateway.xml"
-                       >
-               </File>
-               <File
-                       RelativePath="..\..\version.xml"
-                       >
-               </File>
-       </Files>
-       <Globals>
-       </Globals>
-</VisualStudioProject>
diff --git a/scilab/modules/optimization/src/c/optimization.vcproj b/scilab/modules/optimization/src/c/optimization.vcproj
new file mode 100644 (file)
index 0000000..9c95661
--- /dev/null
@@ -0,0 +1,499 @@
+<?xml version="1.0" encoding="Windows-1252"?>\r
+<VisualStudioProject\r
+       ProjectType="Visual C++"\r
+       Version="9,00"\r
+       Name="optimization"\r
+       ProjectGUID="{425B887B-9FC5-4CD2-B632-DBFC000E3E25}"\r
+       RootNamespace="optimization"\r
+       Keyword="Win32Proj"\r
+       TargetFrameworkVersion="0"\r
+       >\r
+       <Platforms>\r
+               <Platform\r
+                       Name="Win32"\r
+               />\r
+               <Platform\r
+                       Name="x64"\r
+               />\r
+       </Platforms>\r
+       <ToolFiles>\r
+       </ToolFiles>\r
+       <Configurations>\r
+               <Configuration\r
+                       Name="Debug|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../dynamic_link/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WITH_TK;FORDLL;_DEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_EXPORTS"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="0"\r
+                               RuntimeLibrary="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Make dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimizationtmp.def &gt;nul&#x0D;&#x0A;copy ..\optimization_header.def+optimizationtmp.def  ..\optimization.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalOptions="/fixed:no"\r
+                               AdditionalDependencies="LibScilab.lib optimization_f.lib"\r
+                               OutputFile="../../../../bin/$(ProjectName).dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"\r
+                               TargetMachine="1"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Debug|x64"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                               TargetEnvironment="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../dynamic_link/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WITH_TK;FORDLL;_DEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_EXPORTS"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="0"\r
+                               RuntimeLibrary="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Make dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimizationtmp.def &gt;nul&#x0D;&#x0A;copy ..\optimization_header.def+optimizationtmp.def  ..\optimization.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalOptions="/fixed:no"\r
+                               AdditionalDependencies="LibScilab.lib optimization_f.lib"\r
+                               OutputFile="../../../../bin/$(ProjectName).dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"\r
+                               TargetMachine="17"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       WholeProgramOptimization="0"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               InlineFunctionExpansion="1"\r
+                               FavorSizeOrSpeed="1"\r
+                               WholeProgramOptimization="false"\r
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WITH_TK;FORDLL;NDEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_EXPORTS"\r
+                               StringPooling="true"\r
+                               RuntimeLibrary="0"\r
+                               EnableEnhancedInstructionSet="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Make dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimizationtmp.def &gt;nul&#x0D;&#x0A;copy ..\optimization_header.def+optimizationtmp.def  ..\optimization.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="LibScilab.lib optimization_f.lib"\r
+                               OutputFile="../../../../bin/$(ProjectName).dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization.def"\r
+                               GenerateDebugInformation="false"\r
+                               SubSystem="2"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               LinkTimeCodeGeneration="0"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"\r
+                               TargetMachine="1"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|x64"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="2"\r
+                       WholeProgramOptimization="0"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                               TargetEnvironment="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               InlineFunctionExpansion="1"\r
+                               FavorSizeOrSpeed="1"\r
+                               WholeProgramOptimization="false"\r
+                               AdditionalIncludeDirectories="../../includes;../../../../libs/MALLOC/includes;../../../output_stream/includes;../../../localization/includes;../../../core/includes;../../../../libs/hashtable;../../../../libs/intl"\r
+                               PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WITH_TK;FORDLL;NDEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_EXPORTS"\r
+                               StringPooling="true"\r
+                               RuntimeLibrary="0"\r
+                               EnableEnhancedInstructionSet="0"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Make dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_f_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization_f.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;cd $(IntDir) &gt;nul&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimizationtmp.def &gt;nul&#x0D;&#x0A;copy ..\optimization_header.def+optimizationtmp.def  ..\optimization.def &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd .. &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="LibScilab.lib optimization_f.lib"\r
+                               OutputFile="../../../../bin/$(ProjectName).dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization.def"\r
+                               GenerateDebugInformation="false"\r
+                               SubSystem="2"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               LinkTimeCodeGeneration="0"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               ImportLibrary="../../../../bin/$(ProjectName).lib"\r
+                               TargetMachine="17"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+       </Configurations>\r
+       <References>\r
+       </References>\r
+       <Files>\r
+               <Filter\r
+                       Name="Source Files"\r
+                       Filter="cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"\r
+                       >\r
+                       <File\r
+                               RelativePath=".\DllmainOptimization.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fsolvetable.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\gw_optimization.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\intqld.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\lsqrsolvtable.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\optimtable.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_fsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_optim.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_qld.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_qp_solve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_quapro.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_semidef.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\c\sci_sqrsolve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\sp.c"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="Header Files"\r
+                       Filter="h;hpp;hxx;hm;inl"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\..\includes\gw_optim.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\intqld.h"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\includes\spd.h"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="localization"\r
+                       >\r
+                       <File\r
+                               RelativePath="..\..\locales\en_US\messages.pot"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="Libraries Dependencies"\r
+                       >\r
+                       <File\r
+                               RelativePath=".\optimization_header.def"\r
+                               >\r
+                       </File>\r
+                       <Filter\r
+                               Name="Imports"\r
+                               >\r
+                               <File\r
+                                       RelativePath=".\LibScilab_Import.def"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath=".\optimization_f_Import.def"\r
+                                       >\r
+                               </File>\r
+                       </Filter>\r
+               </Filter>\r
+               <File\r
+                       RelativePath="..\..\..\..\bin\blasplus.lib"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\..\Makefile.am"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\..\optimization.iss"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\..\sci_gateway\optimization_gateway.xml"\r
+                       >\r
+               </File>\r
+               <File\r
+                       RelativePath="..\..\version.xml"\r
+                       >\r
+               </File>\r
+       </Files>\r
+       <Globals>\r
+       </Globals>\r
+</VisualStudioProject>\r
diff --git a/scilab/modules/optimization/src/c/optimization_f_Import.def b/scilab/modules/optimization/src/c/optimization_f_Import.def
new file mode 100644 (file)
index 0000000..76b5226
--- /dev/null
@@ -0,0 +1,22 @@
+LIBRARY    optimization_f.dll\r
+\r
+\r
+EXPORTS\r
+; --------------------------------------- \r
+; optimization_f\r
+; --------------------------------------- \r
+fsolj1_\r
+fsol1_\r
+intlsqrsolve_\r
+scioptim_\r
+sciquapro_\r
+scisolv_\r
+ql0001_\r
+lsqrsolj1_\r
+lsqrsol1_\r
+topt2_\r
+icsemc_\r
+genros_\r
+scisemidef_\r
+qpgen1sci_\r
+qpgen2_
\ No newline at end of file
diff --git a/scilab/modules/optimization/src/c/optimization_header.def b/scilab/modules/optimization/src/c/optimization_header.def
new file mode 100644 (file)
index 0000000..8f92a06
--- /dev/null
@@ -0,0 +1,7 @@
+LIBRARY    optimization.dll\r
+\r
+\r
+EXPORTS\r
+; --------------------------------------- \r
+; optimization\r
+; --------------------------------------- \r
index 67a5575..be6170d 100644 (file)
@@ -14,7 +14,6 @@
 /***********************************
 * Search Table for foptim 
 ***********************************/
-
 #define ARGS_foptim integer*,integer*,double *,double*,double*,integer*,float*,double*
 typedef void (*foptimf)(ARGS_foptim);
 
@@ -22,6 +21,7 @@ typedef void (*foptimf)(ARGS_foptim);
 extern void C2F(genros)(ARGS_foptim);
 extern void C2F(topt2)(ARGS_foptim);
 extern void C2F(icsemc)(ARGS_foptim);
+
 void C2F(foptim)(ARGS_foptim);
 void C2F(setfoptim)(char *name, int *rep);
 
diff --git a/scilab/modules/optimization/src/fortran/LibScilab_Import.def b/scilab/modules/optimization/src/fortran/LibScilab_Import.def
new file mode 100644 (file)
index 0000000..4ea8d69
--- /dev/null
@@ -0,0 +1,44 @@
+       LIBRARY    Libscilab.dll\r
+\r
+\r
+EXPORTS\r
+;\r
+;core\r
+iop_\r
+stack_\r
+com_\r
+vstk_\r
+cha1_\r
+errgst_\r
+recu_\r
+checklhs_\r
+checkrhs_\r
+isbyref_\r
+ref2val_\r
+callinterf_\r
+cremat_\r
+gettype_\r
+getexternal_\r
+getrmat_\r
+eqid_\r
+getscalar_\r
+btof_\r
+funs_\r
+allowptr_\r
+parse_\r
+ftob_\r
+\r
+;elementary_functions\r
+ddif_\r
+dmmul_\r
+dset_\r
+lnblnk_\r
+entier_\r
+icopy_\r
+vfinite_\r
+d1mach_\r
+iset_\r
+dadd_\r
+unsfdcopy_\r
+dgefa_\r
+dgesl_
\ No newline at end of file
diff --git a/scilab/modules/optimization/src/fortran/Optimization_Import.def b/scilab/modules/optimization/src/fortran/Optimization_Import.def
new file mode 100644 (file)
index 0000000..e84e98c
--- /dev/null
@@ -0,0 +1,16 @@
+LIBRARY    optimization.dll\r
+\r
+\r
+EXPORTS\r
+setlsqrsolvf_\r
+lsqrsolvf_\r
+setlsqrsolvj_\r
+lsqrsolvj_\r
+setfsolvj_\r
+setfsolvf_\r
+setfsolvf_\r
+spf_\r
+fsolvj_\r
+setfoptim_\r
+foptim_\r
+fsolvf_
\ No newline at end of file
diff --git a/scilab/modules/optimization/src/fortran/Optimization_f_header.def b/scilab/modules/optimization/src/fortran/Optimization_f_header.def
new file mode 100644 (file)
index 0000000..280a5e8
--- /dev/null
@@ -0,0 +1,7 @@
+LIBRARY    optimization_f.dll\r
+\r
+\r
+EXPORTS\r
+; --------------------------------------- \r
+; optimization_f\r
+; --------------------------------------- \r
diff --git a/scilab/modules/optimization/src/fortran/Output_stream_Import.def b/scilab/modules/optimization/src/fortran/Output_stream_Import.def
new file mode 100644 (file)
index 0000000..c5a3ed4
--- /dev/null
@@ -0,0 +1,9 @@
+       LIBRARY    scioutput_stream.dll\r
+\r
+\r
+EXPORTS\r
+;\r
+; output_stream\r
+error_\r
+msgs_\r
+basout_
\ No newline at end of file
diff --git a/scilab/modules/optimization/src/fortran/String_Import.def b/scilab/modules/optimization/src/fortran/String_Import.def
new file mode 100644 (file)
index 0000000..9d10927
--- /dev/null
@@ -0,0 +1,7 @@
+       LIBRARY    string.dll\r
+\r
+\r
+EXPORTS\r
+;\r
+; string\r
+cvstr_
\ No newline at end of file
diff --git a/scilab/modules/optimization/src/fortran/aind.f b/scilab/modules/optimization/src/fortran/aind.f
new file mode 100644 (file)
index 0000000..a73253e
--- /dev/null
@@ -0,0 +1,39 @@
+c
+c  Copyright (C) 1997 Berwin A. Turlach <berwin@alphasun.anu.edu.au>
+c
+c  This program is free software; you can redistribute it and/or modify
+c  it under the terms of the GNU General Public License as published by
+c  the Free Software Foundation; either version 2 of the License, or
+c  (at your option) any later version.
+c
+c  This program is distributed in the hope that it will be useful,
+c  but WITHOUT ANY WARRANTY; without even the implied warranty of
+c  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+c  GNU General Public License for more details.
+c
+c  You should have received a copy of the GNU General Public License
+c  along with this program; if not, write to the Free Software
+c  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+c  USA.
+
+c
+c  this routine checks whether Aind has valid entries, i.e., 
+c    1) 1<= Aind(1,i) <= n for i=1,...,q (number of constraints)
+c    2) 1<= Aind(j,i) <= n for j=2,...,Aind(1,i)+1, i=1,...,q
+c
+c  Aind is a m times q matrix constructed in Splus
+c
+      subroutine aind(ind,m,q,n,ok)
+      implicit none
+      integer m, ind(m,*), q, n, i, j
+      logical ok
+      ok = .FALSE.
+      do i=1,q
+         if( ind(1,i) .LT. 1 .OR. ind(1,i) .GT. n ) return
+         do j=2,ind(1,i)+1
+            if( ind(j,i) .LT. 1 .OR. ind(j,i) .GT. n ) return
+         enddo
+      enddo
+      ok = .TRUE.
+      return
+      end
diff --git a/scilab/modules/optimization/src/fortran/dpofa.f b/scilab/modules/optimization/src/fortran/dpofa.f
new file mode 100644 (file)
index 0000000..f2a8c3e
--- /dev/null
@@ -0,0 +1,78 @@
+      subroutine dpofa(a,lda,n,info)
+      integer lda,n,info
+      double precision a(lda,*)
+c!purpose
+c
+c     dpofa factors a double precision symmetric positive definite
+c     matrix.
+c
+c     dpofa is usually called by dpoco, but it can be called
+c     directly with a saving in time if  rcond  is not needed.
+c     (time for dpoco) = (1 + 18/n)*(time for dpofa) .
+c
+c!calling sequence
+c
+c      subroutine dpofa(a,lda,n,info)
+c     on entry
+c
+c        a       double precision(lda, n)
+c                the symmetric matrix to be factored.  only the
+c                diagonal and upper triangle are used.
+c
+c        lda     integer
+c                the leading dimension of the array  a .
+c
+c        n       integer
+c                the order of the matrix  a .
+c
+c     on return
+c
+c        a       an upper triangular matrix  r  so that  a = trans(r)*r
+c                where  trans(r)  is the transpose.
+c                the strict lower triangle is unaltered.
+c                if  info .ne. 0 , the factorization is not complete.
+c
+c        info    integer
+c                = 0  for normal return.
+c                = k  signals an error condition.  the leading minor
+c                     of order  k  is not positive definite.
+c
+c!originator
+c     linpack.  this version dated 08/14/78 .
+c     cleve moler, university of new mexico, argonne national lab.
+c
+c!auxiliary routines
+c
+c     blas ddot
+c     fortran sqrt
+c
+c!
+c     internal variables
+c
+      double precision ddot,t
+      double precision s
+      integer j,jm1,k
+c     begin block with ...exits to 40
+c
+c
+         do 30 j = 1, n
+            info = j
+            s = 0.0d+0
+            jm1 = j - 1
+            if (jm1 .lt. 1) go to 20
+            do 10 k = 1, jm1
+               t = a(k,j) - ddot(k-1,a(1,k),1,a(1,j),1)
+               t = t/a(k,k)
+               a(k,j) = t
+               s = s + t*t
+   10       continue
+   20       continue
+            s = a(j,j) - s
+c     ......exit
+            if (s .le. 0.0d+0) go to 40
+            a(j,j) = sqrt(s)
+   30    continue
+         info = 0
+   40 continue
+      return
+      end
diff --git a/scilab/modules/optimization/src/fortran/optim_f.vfproj b/scilab/modules/optimization/src/fortran/optim_f.vfproj
deleted file mode 100644 (file)
index 342a273..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<VisualStudioProject ProjectType="typeStaticLibrary" ProjectCreator="Intel Fortran" Keyword="Static Library" Version="9.10" ProjectIdGuid="{1D219098-007C-4F76-9AE6-271ABBB7D393}">
-       <Platforms>
-               <Platform Name="Win32"/>
-               <Platform Name="x64"/></Platforms>
-       <Configurations>
-               <Configuration Name="Debug|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
-copy *.def optim_f.def &gt;nul
-copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul
-del *.def &gt;nul
-cd .."/>
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" OptimizeForProcessor="procOptimizeBlended" AdditionalIncludeDirectories="../../includes;../../../core/includes;" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebug" DisableDefaultLibSearch="true" CompileOnly="true"/>
-                               <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/optim_f.lib" SuppressStartupBanner="true"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFResourceCompilerTool" ResourceOutputFileName="$(IntDir)/$(InputName).res"/></Configuration>
-               <Configuration Name="Release|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary">
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
-copy *.def optim_f.def &gt;nul
-copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul
-del *.def &gt;nul
-cd .."/>
-                               <Tool Name="VFFortranCompilerTool" SuppressStartupBanner="true" OptimizeForProcessor="procOptimizePentiumProThruIII" UseProcessorExtensions="codeForStreamingSIMD" RequireProcessorExtensions="codeExclusivelyStreamingSIMD" AdditionalIncludeDirectories="../../includes;../../../core/includes;" PreprocessorDefinitions="WIN32" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="static /threads" DisableDefaultLibSearch="true" CompileOnly="true"/>
-                               <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFLinkerTool" MustRebuild="true" OutputFile="$(OutDir)/$(ProjectName)" SuppressStartupBanner="true"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/optim_f.lib" SuppressStartupBanner="true"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFResourceCompilerTool" ResourceOutputFileName="$(IntDir)/$(InputName).res"/></Configuration>
-               <Configuration Name="Debug|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary" MustRebuild="true">
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFFortranCompilerTool" SwitchesHaveChanged="true" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../includes;../../../core/includes;" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebug" DisableDefaultLibSearch="true" CompileOnly="true"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
-copy *.def optim_f.def &gt;nul
-copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul
-del *.def &gt;nul
-cd .."/>
-                               <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFResourceCompilerTool" ResourceOutputFileName="$(IntDir)/$(InputName).res"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/optim_f.lib" SuppressStartupBanner="true"/></Configuration>
-               <Configuration Name="Release|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.lib;$(TargetPath)" ConfigurationType="typeStaticLibrary" MustRebuild="true">
-                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>
-                               <Tool Name="VFPreBuildEventTool"/>
-                               <Tool Name="VFFortranCompilerTool" SwitchesHaveChanged="true" SuppressStartupBanner="true" AdditionalIncludeDirectories="../../includes;../../../core/includes;" PreprocessorDefinitions="WIN32" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="static /threads" DisableDefaultLibSearch="true" CompileOnly="true"/>
-                               <Tool Name="VFPostBuildEventTool" CommandLine="cd $(IntDir)
-for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul
-copy *.def optim_f.def &gt;nul
-copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul
-del *.def &gt;nul
-cd .."/>
-                               <Tool Name="VFCustomBuildTool"/>
-                               <Tool Name="VFLinkerTool" MustRebuild="true" OutputFile="$(OutDir)/$(ProjectName)" SuppressStartupBanner="true"/>
-                               <Tool Name="VFResourceCompilerTool" ResourceOutputFileName="$(IntDir)/$(InputName).res"/>
-                               <Tool Name="VFPreLinkEventTool"/>
-                               <Tool Name="VFLibrarianTool" OutputFile="../../../../libs/optim_f.lib" SuppressStartupBanner="true"/></Configuration></Configurations>
-       <Files>
-               <Filter Name="Source Files" Filter="f90;for;f;fpp;ftn;def;odl;idl">
-               <File RelativePath="ajour.f"/>
-               <File RelativePath="anfm01.f"/>
-               <File RelativePath="anfm02.f"/>
-               <File RelativePath="anfm03.f"/>
-               <File RelativePath="anfm04.f"/>
-               <File RelativePath="anfm05.f"/>
-               <File RelativePath="anfm06.f"/>
-               <File RelativePath="anrs01.f"/>
-               <File RelativePath="anrs02.f"/>
-               <File RelativePath="aux003.f"/>
-               <File RelativePath="auxo01.f"/>
-               <File RelativePath="bfgsd.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\bjsolv.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\blsqrsolv.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\boptim.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\bsolv.f"/>
-               <File RelativePath="calbx.f"/>
-               <File RelativePath="calmaj.f"/>
-               <File RelativePath="ctcab.f"/>
-               <File RelativePath="ctonb.f"/>
-               <File RelativePath="dcube.f"/>
-               <File RelativePath="ddd2.f"/>
-               <File RelativePath="desr03.f"/>
-               <File RelativePath="dimp03.f"/>
-               <File RelativePath="dipvtf.f"/>
-               <File RelativePath="dnrm0.f"/>
-               <File RelativePath="dogleg.f"/>
-               <File RelativePath="dpmpar.f"/>
-               <File RelativePath="enorm.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\Ex-fsolve.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\Ex-lsqrsolve.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\Ex-optim.f"/>
-               <File RelativePath="fajc1.f"/>
-               <File RelativePath="fcomp1.f"/>
-               <File RelativePath="fcube.f"/>
-               <File RelativePath="fdjac1.f"/>
-               <File RelativePath="fdjac2.f"/>
-               <File RelativePath="ffinf1.f"/>
-               <File RelativePath="fmani1.f"/>
-               <File RelativePath="fmc11a.f"/>
-               <File RelativePath="fmc11b.f"/>
-               <File RelativePath="fmc11e.f"/>
-               <File RelativePath="fmc11z.f"/>
-               <File RelativePath="fmlag1.f"/>
-               <File RelativePath="fmulb1.f"/>
-               <File RelativePath="fmuls1.f"/>
-               <File RelativePath="fpq2.f"/>
-               <File RelativePath="fprf2.f"/>
-               <File RelativePath="frdf1.f"/>
-               <File RelativePath="fremf1.f"/>
-               <File RelativePath="fremf2.f"/>
-               <File RelativePath="fretc1.f"/>
-               <File RelativePath="fuclid.f"/>
-               <File RelativePath="gcbd.f"/>
-               <File RelativePath="gcp.f"/>
-               <File RelativePath="hybrd.f"/>
-               <File RelativePath="hybrd1.f"/>
-               <File RelativePath="hybrj.f"/>
-               <File RelativePath="hybrj1.f"/>
-               <File RelativePath="icscof.f"/>
-               <File RelativePath="icse.f"/>
-               <File RelativePath="icse0.f"/>
-               <File RelativePath="icse1.f"/>
-               <File RelativePath="icse2.f"/>
-               <File RelativePath="icsec2.f"/>
-               <File RelativePath="icsei.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\intlsqrsolve.f"/>
-               <File RelativePath="lmder.f"/>
-               <File RelativePath="lmdif.f"/>
-               <File RelativePath="lmpar.f"/>
-               <File RelativePath="majour.f"/>
-               <File RelativePath="majysa.f"/>
-               <File RelativePath="majz.f"/>
-               <File RelativePath="n1fc1.f"/>
-               <File RelativePath="n1fc1a.f"/>
-               <File RelativePath="n1fc1o.f"/>
-               <File RelativePath="n1gc2.f"/>
-               <File RelativePath="n1gc2a.f"/>
-               <File RelativePath="n1gc2b.f"/>
-               <File RelativePath="n1qn1.f"/>
-               <File RelativePath="n1qn1a.f"/>
-               <File RelativePath="n1qn2.f"/>
-               <File RelativePath="n1qn2a.f"/>
-               <File RelativePath="n1qn3.f"/>
-               <File RelativePath="n1qn3a.f"/>
-               <File RelativePath="nlis0.f"/>
-               <File RelativePath="nlis2.f"/>
-               <File RelativePath="nvkt03.f"/>
-               <File RelativePath="optr01.f"/>
-               <File RelativePath="optr03.f"/>
-               <File RelativePath="opvf03.f"/>
-               <File RelativePath="pasr03.f"/>
-               <File RelativePath="plcbas.f"/>
-               <File RelativePath="proj.f"/>
-               <File RelativePath="qform.f"/>
-               <File RelativePath="ql0001.f"/>
-               <File RelativePath="qnbd.f"/>
-               <File RelativePath="qrfac.f"/>
-               <File RelativePath="qrsolv.f"/>
-               <File RelativePath="r1mpyq.f"/>
-               <File RelativePath="r1updt.f"/>
-               <File RelativePath="rednor.f"/>
-               <File RelativePath="relvar.f"/>
-               <File RelativePath="rlbd.f"/>
-               <File RelativePath="satur.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_fsolve.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_optim.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_quapro.f"/>
-               <File RelativePath="..\..\sci_gateway\fortran\sci_f_semidef.f"/>
-               <File RelativePath="shanph.f"/>
-               <File RelativePath="strang.f"/>
-               <File RelativePath="tol03.f"/>
-               <File RelativePath="zgcbd.f"/>
-               <File RelativePath="zqnbd.f"/>
-               <File RelativePath="zthz.f"/></Filter>
-               <Filter Name="Header Files" Filter="fi;fd"/>
-               <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"/>
-               <File RelativePath="..\..\Makefile.am"/>
-               <File RelativePath="..\..\sci_gateway\optimization_gateway.xml"/></Files>
-       <Globals/></VisualStudioProject>
diff --git a/scilab/modules/optimization/src/fortran/optim_f2c.vcproj b/scilab/modules/optimization/src/fortran/optim_f2c.vcproj
deleted file mode 100644 (file)
index 9069a2d..0000000
+++ /dev/null
@@ -1,1298 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
-       ProjectType="Visual C++"
-       Version="9,00"
-       Name="optim_f2c"
-       ProjectGUID="{1D219098-007C-4F76-9AE6-271ABBB7D393}"
-       RootNamespace="optim_f2c"
-       Keyword="Win32Proj"
-       
-       >
-       <Platforms>
-               <Platform
-                       Name="Win32"
-               />
-               <Platform
-                       Name="x64"
-               />
-       </Platforms>
-       <ToolFiles>
-               <ToolFile
-                       RelativePath="..\..\..\..\Visual-Studio-settings\f2c.rules"
-               />
-       </ToolFiles>
-       <Configurations>
-               <Configuration
-                       Name="Debug|Win32"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="f2c rule"
-                               ExecutionBucket="1"
-                       />
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                               ExecutionBucket="2"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                               ExecutionBucket="4"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               ExecutionBucket="5"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               ExecutionBucket="6"
-                               Optimization="0"
-                               AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
-                               MinimalRebuild="true"
-                               BasicRuntimeChecks="0"
-                               RuntimeLibrary="3"
-                               UsePrecompiledHeader="0"
-                               WarningLevel="3"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                               ExecutionBucket="7"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               ExecutionBucket="8"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                               ExecutionBucket="9"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               ExecutionBucket="10"
-                               OutputFile="../../../../libs/optim_f.lib"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                               ExecutionBucket="11"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                               ExecutionBucket="12"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                               ExecutionBucket="13"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                               ExecutionBucket="14"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               Description="Build optim_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim_f.def &gt;nul&#x0D;&#x0A;copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
-                               ExecutionBucket="15"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Debug|x64"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="f2c rule"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               TargetEnvironment="3"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               Optimization="0"
-                               AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
-                               MinimalRebuild="true"
-                               BasicRuntimeChecks="0"
-                               RuntimeLibrary="3"
-                               UsePrecompiledHeader="0"
-                               WarningLevel="3"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim_f.lib"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               Description="Build optim_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim_f.def &gt;nul&#x0D;&#x0A;copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Release|Win32"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
-                       WholeProgramOptimization="1"
-                       >
-                       <Tool
-                               Name="f2c rule"
-                               ExecutionBucket="1"
-                       />
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                               ExecutionBucket="2"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                               ExecutionBucket="4"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               ExecutionBucket="5"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               ExecutionBucket="6"
-                               WholeProgramOptimization="false"
-                               AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
-                               RuntimeLibrary="2"
-                               UsePrecompiledHeader="0"
-                               WarningLevel="3"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                               ExecutionBucket="7"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                               ExecutionBucket="8"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                               ExecutionBucket="9"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               ExecutionBucket="10"
-                               OutputFile="../../../../libs/optim_f.lib"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                               ExecutionBucket="11"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                               ExecutionBucket="12"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                               ExecutionBucket="13"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                               ExecutionBucket="14"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               Description="Build optim_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim_f.def &gt;nul&#x0D;&#x0A;copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
-                               ExecutionBucket="15"
-                       />
-               </Configuration>
-               <Configuration
-                       Name="Release|x64"
-                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"
-                       IntermediateDirectory="$(ConfigurationName)"
-                       ConfigurationType="4"
-                       CharacterSet="2"
-                       WholeProgramOptimization="1"
-                       >
-                       <Tool
-                               Name="VCPreBuildEventTool"
-                       />
-                       <Tool
-                               Name="VCCustomBuildTool"
-                       />
-                       <Tool
-                               Name="f2c rule"
-                       />
-                       <Tool
-                               Name="VCXMLDataGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCWebServiceProxyGeneratorTool"
-                       />
-                       <Tool
-                               Name="VCMIDLTool"
-                               TargetEnvironment="3"
-                       />
-                       <Tool
-                               Name="VCCLCompilerTool"
-                               WholeProgramOptimization="false"
-                               AdditionalIncludeDirectories="../../../../libs/f2c"
-                               PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
-                               RuntimeLibrary="2"
-                               UsePrecompiledHeader="0"
-                               WarningLevel="3"
-                               Detect64BitPortabilityProblems="false"
-                               DebugInformationFormat="3"
-                       />
-                       <Tool
-                               Name="VCManagedResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCResourceCompilerTool"
-                       />
-                       <Tool
-                               Name="VCPreLinkEventTool"
-                       />
-                       <Tool
-                               Name="VCLibrarianTool"
-                               OutputFile="../../../../libs/optim_f.lib"
-                       />
-                       <Tool
-                               Name="VCALinkTool"
-                       />
-                       <Tool
-                               Name="VCXDCMakeTool"
-                       />
-                       <Tool
-                               Name="VCBscMakeTool"
-                       />
-                       <Tool
-                               Name="VCFxCopTool"
-                       />
-                       <Tool
-                               Name="VCPostBuildEventTool"
-                               Description="Build optim_f.vcdef"
-                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n scilex.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optim_f.def &gt;nul&#x0D;&#x0A;copy optim_f.def ..\..\..\..\..\libs\optim_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;"
-                       />
-               </Configuration>
-       </Configurations>
-       <References>
-       </References>
-       <Files>
-               <Filter
-                       Name="Source Files"
-                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
-                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
-                       >
-                       <File
-                               RelativePath=".\ajour.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm01.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm02.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm04.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm05.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm06.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anrs01.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anrs02.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\aux003.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\auxo01.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\bfgsd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bjsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\blsqrsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\boptim.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\calbx.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\calmaj.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ctcab.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ctonb.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dcube.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ddd2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\desr03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dimp03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dipvtf.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dnrm0.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dogleg.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dpmpar.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\enorm.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-fsolve.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-lsqrsolve.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-optim.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fajc1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fcomp1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fcube.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fdjac1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fdjac2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ffinf1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmani1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11b.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11e.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11z.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmlag1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmulb1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmuls1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fpq2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fprf2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\frdf1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fremf1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fremf2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fretc1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fuclid.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\gcbd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\gcp.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrd1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrj.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrj1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icscof.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse0.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icsec2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icsei.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\intlsqrsolve.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmder.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmdif.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmpar.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majour.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majysa.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majz.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1o.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2b.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn1.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn1a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn2a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn3.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn3a.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nlis0.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nlis2.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nvkt03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\optr01.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\optr03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\opvf03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\pasr03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\plcbas.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\proj.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qform.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ql0001.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qnbd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qrfac.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qrsolv.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\r1mpyq.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\r1updt.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\rednor.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\relvar.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\rlbd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\satur.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_fsolve.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_optim.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_quapro.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_semidef.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\shanph.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\strang.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\tol03.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zgcbd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zqnbd.c"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zthz.c"
-                               >
-                       </File>
-               </Filter>
-               <Filter
-                       Name="Header Files"
-                       Filter="h;hpp;hxx;hm;inl;inc;xsd"
-                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
-                       >
-               </Filter>
-               <Filter
-                       Name="Resource Files"
-                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
-                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
-                       >
-               </Filter>
-               <Filter
-                       Name="Fortran Files"
-                       >
-                       <File
-                               RelativePath=".\ajour.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm01.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm02.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm04.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm05.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anfm06.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anrs01.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\anrs02.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\aux003.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\auxo01.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\bfgsd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bjsolv.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\blsqrsolv.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\boptim.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\bsolv.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\calbx.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\calmaj.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ctcab.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ctonb.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dcube.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ddd2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\desr03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dimp03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dipvtf.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dnrm0.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dogleg.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\dpmpar.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\enorm.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-fsolve.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-lsqrsolve.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\Ex-optim.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fajc1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fcomp1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fcube.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fdjac1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fdjac2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ffinf1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmani1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11b.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11e.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmc11z.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmlag1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmulb1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fmuls1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fpq2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fprf2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\frdf1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fremf1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fremf2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fretc1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\fuclid.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\gcbd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\gcp.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrd1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrj.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\hybrj1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icscof.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse0.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icse2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icsec2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\icsei.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\intlsqrsolve.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmder.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmdif.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\lmpar.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majour.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majysa.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\majz.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1fc1o.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1gc2b.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn1.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn1a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn2a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn3.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\n1qn3a.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nlis0.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nlis2.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\nvkt03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\optr01.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\optr03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\opvf03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\pasr03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\plcbas.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\proj.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qform.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\ql0001.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qnbd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qrfac.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\qrsolv.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\r1mpyq.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\r1updt.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\rednor.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\relvar.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\rlbd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\satur.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_fsolve.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_optim.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_quapro.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath="..\..\sci_gateway\fortran\sci_f_semidef.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\shanph.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\strang.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\tol03.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zgcbd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zqnbd.f"
-                               >
-                       </File>
-                       <File
-                               RelativePath=".\zthz.f"
-                               >
-                       </File>
-               </Filter>
-               <File
-                       RelativePath="..\..\..\..\bin\libf2c.lib"
-                       >
-               </File>
-               <File
-                       RelativePath="..\..\Makefile.am"
-                       >
-               </File>
-               <File
-                       RelativePath="..\..\sci_gateway\optimization_gateway.xml"
-                       >
-               </File>
-       </Files>
-       <Globals>
-       </Globals>
-</VisualStudioProject>
diff --git a/scilab/modules/optimization/src/fortran/optimization_f.vfproj b/scilab/modules/optimization/src/fortran/optimization_f.vfproj
new file mode 100644 (file)
index 0000000..b139a01
--- /dev/null
@@ -0,0 +1,209 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<VisualStudioProject ProjectType="typeDynamicLibrary" ProjectCreator="Intel Fortran" Keyword="Dll" Version="9.10" ProjectIdGuid="{1D219098-007C-4F76-9AE6-271ABBB7D393}">\r
+       <Platforms>\r
+               <Platform Name="Win32"/>\r
+               <Platform Name="x64"/></Platforms>\r
+       <Configurations>\r
+               <Configuration Name="Debug|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">\r
+                               <Tool Name="VFFortranCompilerTool" AdditionalOptions="/dll" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" OptimizeForProcessor="procOptimizePentiumProThruIII" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL" DisableDefaultLibSearch="true"/>\r
+                               <Tool Name="VFLinkerTool" AdditionalOptions="/DLL libcmtd.lib /DLL ifconsol.lib /DLL libifport.lib /DLL libirc.lib /DLL libifcoremdd.lib /DLL libmmdd.lib /DLL optimization.lib" OutputFile="$(SolutionDir)bin\optimization_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="optimization_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\optimization_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib optimization.lib string.lib output_stream.lib"/>\r
+                               <Tool Name="VFResourceCompilerTool"/>\r
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>\r
+                               <Tool Name="VFCustomBuildTool"/>\r
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)\r
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul\r
+copy *.def optimization_f.def &gt;nul\r
+copy optimization_f.def ..\optimization_f.vcdef &gt;nul\r
+del *.def &gt;nul\r
+cd ..\r
+copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul" Description="Build optimization.def"/>\r
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>\r
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>\r
+               <Configuration Name="Release|Win32" OutputDirectory="$(InputDir)$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">\r
+                               <Tool Name="VFFortranCompilerTool" AdditionalOptions="/dll" SuppressStartupBanner="true" OptimizeForProcessor="procOptimizePentiumProThruIII" UseProcessorExtensions="codeForStreamingSIMD" RequireProcessorExtensions="codeExclusivelyStreamingSIMD" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" DisableDefaultLibSearch="true"/>\r
+                               <Tool Name="VFLinkerTool" AdditionalOptions="/DLL libcmt.lib /DLL ifconsol.lib /DLL libifport.lib /DLL libirc.lib /DLL libifcoremd.lib /DLL libmmd.lib /DLL optimization.lib" OutputFile="$(SolutionDir)bin\optimization_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="optimization_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\optimization_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib optimization.lib string.lib output_stream.lib"/>\r
+                               <Tool Name="VFResourceCompilerTool"/>\r
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>\r
+                               <Tool Name="VFCustomBuildTool"/>\r
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)\r
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul\r
+copy *.def optimization_f.def &gt;nul\r
+copy optimization_f.def ..\optimization_f.vcdef &gt;nul\r
+del *.def &gt;nul\r
+cd ..\r
+copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul" Description="Build optimization.def"/>\r
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)String_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>\r
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>\r
+               <Configuration Name="Debug|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">\r
+                               <Tool Name="VFFortranCompilerTool" AdditionalOptions="/dll" SuppressStartupBanner="true" DebugInformationFormat="debugEnabled" Optimization="optimizeDisabled" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" RuntimeLibrary="rtMultiThreadedDebugDLL" DisableDefaultLibSearch="true"/>\r
+                               <Tool Name="VFLinkerTool" AdditionalOptions="/DLL libcmtd.lib /DLL ifconsol.lib /DLL libifport.lib /DLL libirc.lib /DLL libifcoremdd.lib /DLL libmmdd.lib /DLL optimization.lib" OutputFile="$(SolutionDir)bin\optimization_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="optimization_f.def" GenerateDebugInformation="true" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\optimization_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib optimization.lib string.lib output_stream.lib"/>\r
+                               <Tool Name="VFResourceCompilerTool"/>\r
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>\r
+                               <Tool Name="VFCustomBuildTool"/>\r
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)\r
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul\r
+copy *.def optimization_f.def &gt;nul\r
+copy optimization_f.def ..\optimization_f.vcdef &gt;nul\r
+del *.def &gt;nul\r
+cd ..\r
+copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul" Description="Build optimization.def"/>\r
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)string_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>\r
+                               <Tool Name="VFPostBuildEventTool"/></Configuration>\r
+               <Configuration Name="Release|x64" OutputDirectory="$(InputDir)$(ConfigurationName)" IntermediateDirectory="$(ConfigurationName)" DeleteExtensionsOnClean="*.obj;*.mod;*.pdb;*.asm;*.map;*.dyn;*.dpi;*.tmp;*.log;*.ilk;*.dll;$(TargetPath)" ConfigurationType="typeDynamicLibrary">\r
+                               <Tool Name="VFFortranCompilerTool" AdditionalOptions="/dll" SuppressStartupBanner="true" AdditionalIncludeDirectories="../../../core/includes" PreprocessorDefinitions="WIN32;FORDLL" AlternateParameterSyntax="false" F77RuntimeCompatibility="true" FPS4Libs="false" CallingConvention="callConventionCRef" ExternalNameUnderscore="true" ModulePath="$(INTDIR)/" ObjectFile="$(INTDIR)/" DisableDefaultLibSearch="true"/>\r
+                               <Tool Name="VFLinkerTool" AdditionalOptions="/DLL libcmt.lib /DLL ifconsol.lib /DLL libifport.lib /DLL libirc.lib /DLL libifcoremd.lib /DLL libmmd.lib /DLL optimization.lib" OutputFile="$(SolutionDir)bin\optimization_f.dll" LinkIncremental="linkIncrementalNo" SuppressStartupBanner="true" ModuleDefinitionFile="optimization_f.def" SubSystem="subSystemWindows" ImportLibrary="$(SolutionDir)bin\optimization_f.lib" LinkDLL="true" AdditionalDependencies="LibScilab.lib optimization.lib string.lib output_stream.lib"/>\r
+                               <Tool Name="VFResourceCompilerTool"/>\r
+                               <Tool Name="VFMidlTool" SuppressStartupBanner="true" HeaderFileName="$(InputName).h" TypeLibraryName="$(IntDir)/$(InputName).tlb"/>\r
+                               <Tool Name="VFCustomBuildTool"/>\r
+                               <Tool Name="VFPreLinkEventTool" CommandLine="cd $(IntDir)\r
+for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul\r
+copy *.def optimization_f.def &gt;nul\r
+copy optimization_f.def ..\optimization_f.vcdef &gt;nul\r
+del *.def &gt;nul\r
+cd ..\r
+copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul" Description="Build optimization.def"/>\r
+                               <Tool Name="VFPreBuildEventTool" CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)string_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)string.lib&quot; 1&gt;NUL 2&gt;NUL\r
+lib /DEF:&quot;$(InputDir)Output_stream_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)output_stream.lib&quot; 1&gt;NUL 2&gt;NUL" Description="Build Dependencies"/>\r
+                               <Tool Name="VFPostBuildEventTool"/></Configuration></Configurations>\r
+       <Files>\r
+               <Filter Name="Header Files" Filter="fi;fd"/>\r
+               <Filter Name="Resource Files" Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"/>\r
+               <Filter Name="Source Files" Filter="f90;for;f;fpp;ftn;def;odl;idl">\r
+               <File RelativePath=".\aind.f"/>\r
+               <File RelativePath=".\ajour.f"/>\r
+               <File RelativePath=".\anfm01.f"/>\r
+               <File RelativePath=".\anfm02.f"/>\r
+               <File RelativePath=".\anfm03.f"/>\r
+               <File RelativePath=".\anfm04.f"/>\r
+               <File RelativePath=".\anfm05.f"/>\r
+               <File RelativePath=".\anfm06.f"/>\r
+               <File RelativePath=".\anrs01.f"/>\r
+               <File RelativePath=".\anrs02.f"/>\r
+               <File RelativePath=".\aux003.f"/>\r
+               <File RelativePath=".\auxo01.f"/>\r
+               <File RelativePath=".\bfgsd.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\bjsolv.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\blsqrsolv.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\boptim.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\bsolv.f"/>\r
+               <File RelativePath=".\calbx.f"/>\r
+               <File RelativePath=".\calmaj.f"/>\r
+               <File RelativePath=".\ctcab.f"/>\r
+               <File RelativePath=".\ctonb.f"/>\r
+               <File RelativePath=".\dcube.f"/>\r
+               <File RelativePath=".\ddd2.f"/>\r
+               <File RelativePath=".\desr03.f"/>\r
+               <File RelativePath=".\dimp03.f"/>\r
+               <File RelativePath=".\dipvtf.f"/>\r
+               <File RelativePath=".\dnrm0.f"/>\r
+               <File RelativePath=".\dogleg.f"/>\r
+               <File RelativePath=".\dpmpar.f"/>\r
+               <File RelativePath=".\dpofa.f"/>\r
+               <File RelativePath=".\enorm.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\Ex-fsolve.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\Ex-lsqrsolve.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\Ex-optim.f"/>\r
+               <File RelativePath=".\fajc1.f"/>\r
+               <File RelativePath=".\fcomp1.f"/>\r
+               <File RelativePath=".\fcube.f"/>\r
+               <File RelativePath=".\fdjac1.f"/>\r
+               <File RelativePath=".\fdjac2.f"/>\r
+               <File RelativePath=".\ffinf1.f"/>\r
+               <File RelativePath=".\fmani1.f"/>\r
+               <File RelativePath=".\fmc11a.f"/>\r
+               <File RelativePath=".\fmc11b.f"/>\r
+               <File RelativePath=".\fmc11e.f"/>\r
+               <File RelativePath=".\fmc11z.f"/>\r
+               <File RelativePath=".\fmlag1.f"/>\r
+               <File RelativePath=".\fmulb1.f"/>\r
+               <File RelativePath=".\fmuls1.f"/>\r
+               <File RelativePath=".\fpq2.f"/>\r
+               <File RelativePath=".\fprf2.f"/>\r
+               <File RelativePath=".\frdf1.f"/>\r
+               <File RelativePath=".\fremf1.f"/>\r
+               <File RelativePath=".\fremf2.f"/>\r
+               <File RelativePath=".\fretc1.f"/>\r
+               <File RelativePath=".\fuclid.f"/>\r
+               <File RelativePath=".\gcbd.f"/>\r
+               <File RelativePath=".\gcp.f"/>\r
+               <File RelativePath=".\hybrd.f"/>\r
+               <File RelativePath=".\hybrd1.f"/>\r
+               <File RelativePath=".\hybrj.f"/>\r
+               <File RelativePath=".\hybrj1.f"/>\r
+               <File RelativePath=".\icscof.f"/>\r
+               <File RelativePath=".\icse.f"/>\r
+               <File RelativePath=".\icse0.f"/>\r
+               <File RelativePath=".\icse1.f"/>\r
+               <File RelativePath=".\icse2.f"/>\r
+               <File RelativePath=".\icsec2.f"/>\r
+               <File RelativePath=".\icsei.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\intlsqrsolve.f"/>\r
+               <File RelativePath=".\lmder.f"/>\r
+               <File RelativePath=".\lmdif.f"/>\r
+               <File RelativePath=".\lmpar.f"/>\r
+               <File RelativePath=".\majour.f"/>\r
+               <File RelativePath=".\majysa.f"/>\r
+               <File RelativePath=".\majz.f"/>\r
+               <File RelativePath=".\n1fc1.f"/>\r
+               <File RelativePath=".\n1fc1a.f"/>\r
+               <File RelativePath=".\n1fc1o.f"/>\r
+               <File RelativePath=".\n1gc2.f"/>\r
+               <File RelativePath=".\n1gc2a.f"/>\r
+               <File RelativePath=".\n1gc2b.f"/>\r
+               <File RelativePath=".\n1qn1.f"/>\r
+               <File RelativePath=".\n1qn1a.f"/>\r
+               <File RelativePath=".\n1qn2.f"/>\r
+               <File RelativePath=".\n1qn2a.f"/>\r
+               <File RelativePath=".\n1qn3.f"/>\r
+               <File RelativePath=".\n1qn3a.f"/>\r
+               <File RelativePath=".\nlis0.f"/>\r
+               <File RelativePath=".\nlis2.f"/>\r
+               <File RelativePath=".\nvkt03.f"/>\r
+               <File RelativePath=".\optr01.f"/>\r
+               <File RelativePath=".\optr03.f"/>\r
+               <File RelativePath=".\opvf03.f"/>\r
+               <File RelativePath=".\pasr03.f"/>\r
+               <File RelativePath=".\plcbas.f"/>\r
+               <File RelativePath=".\proj.f"/>\r
+               <File RelativePath=".\qform.f"/>\r
+               <File RelativePath=".\ql0001.f"/>\r
+               <File RelativePath=".\qnbd.f"/>\r
+               <File RelativePath=".\qpgen1sci.f"/>\r
+               <File RelativePath=".\qpgen2.f"/>\r
+               <File RelativePath=".\qrfac.f"/>\r
+               <File RelativePath=".\qrsolv.f"/>\r
+               <File RelativePath=".\r1mpyq.f"/>\r
+               <File RelativePath=".\r1updt.f"/>\r
+               <File RelativePath=".\rednor.f"/>\r
+               <File RelativePath=".\relvar.f"/>\r
+               <File RelativePath=".\rlbd.f"/>\r
+               <File RelativePath=".\satur.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\sci_f_fsolve.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\sci_f_optim.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\sci_f_quapro.f"/>\r
+               <File RelativePath="..\..\sci_gateway\fortran\sci_f_semidef.f"/>\r
+               <File RelativePath=".\shanph.f"/>\r
+               <File RelativePath=".\strang.f"/>\r
+               <File RelativePath=".\tol03.f"/>\r
+               <File RelativePath=".\util.f"/>\r
+               <File RelativePath=".\writebuf.f"/>\r
+               <File RelativePath=".\zgcbd.f"/>\r
+               <File RelativePath=".\zqnbd.f"/>\r
+               <File RelativePath=".\zthz.f"/></Filter>\r
+               <File RelativePath="..\..\..\..\bin\blasplus.lib"/>\r
+               <File RelativePath="..\..\..\..\bin\lapack.lib"/>\r
+               <File RelativePath="..\..\Makefile.am"/>\r
+               <File RelativePath="..\..\sci_gateway\optimization_gateway.xml"/></Files>\r
+       <Globals/></VisualStudioProject>\r
diff --git a/scilab/modules/optimization/src/fortran/optimization_f2c.vcproj b/scilab/modules/optimization/src/fortran/optimization_f2c.vcproj
new file mode 100644 (file)
index 0000000..bc76abd
--- /dev/null
@@ -0,0 +1,1763 @@
+<?xml version="1.0" encoding="Windows-1252"?>\r
+<VisualStudioProject\r
+       ProjectType="Visual C++"\r
+       Version="9,00"\r
+       Name="optimization_f2c"\r
+       ProjectGUID="{1D219098-007C-4F76-9AE6-271ABBB7D393}"\r
+       RootNamespace="optimization_f2c"\r
+       Keyword="Win32Proj"\r
+       TargetFrameworkVersion="0"\r
+       >\r
+       <Platforms>\r
+               <Platform\r
+                       Name="Win32"\r
+               />\r
+               <Platform\r
+                       Name="x64"\r
+               />\r
+       </Platforms>\r
+       <ToolFiles>\r
+               <ToolFile\r
+                       RelativePath="..\..\..\..\Visual-Studio-settings\f2c.rules"\r
+               />\r
+       </ToolFiles>\r
+       <Configurations>\r
+               <Configuration\r
+                       Name="Debug|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="1"\r
+                       >\r
+                       <Tool\r
+                               Name="f2c rule"\r
+                               ExecutionBucket="1"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               Description="Build Dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"\r
+                               ExecutionBucket="2"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                               ExecutionBucket="4"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                               ExecutionBucket="5"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               ExecutionBucket="6"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../../../libs/f2c"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_F2C_EXPORTS;FORDLL"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="0"\r
+                               RuntimeLibrary="3"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                               ExecutionBucket="7"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                               ExecutionBucket="8"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Build optimization_f.def"\r
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimization_f.def &gt;nul&#x0D;&#x0A;copy optimization_f.def ..\optimization_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul&#x0D;&#x0A;"\r
+                               ExecutionBucket="9"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               ExecutionBucket="10"\r
+                               AdditionalOptions="/fixed:no"\r
+                               AdditionalDependencies="Libscilab.lib optimization.lib"\r
+                               OutputFile="$(SolutionDir)bin\optimization_f.dll"\r
+                               LinkIncremental="2"\r
+                               ModuleDefinitionFile="optimization_f.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               TargetMachine="1"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                               ExecutionBucket="11"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                               ExecutionBucket="12"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                               ExecutionBucket="13"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                               ExecutionBucket="14"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                               ExecutionBucket="15"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                               ExecutionBucket="17"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Debug|x64"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="1"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               Description="Build Dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="f2c rule"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                               TargetEnvironment="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               Optimization="0"\r
+                               AdditionalIncludeDirectories="../../../../libs/f2c"\r
+                               PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_F2C_EXPORTS;FORDLL"\r
+                               MinimalRebuild="true"\r
+                               BasicRuntimeChecks="0"\r
+                               RuntimeLibrary="3"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Build optimization_f.def"\r
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimization_f.def &gt;nul&#x0D;&#x0A;copy optimization_f.def ..\optimization_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalOptions="/fixed:no"\r
+                               AdditionalDependencies="Libscilab.lib optimization.lib"\r
+                               OutputFile="$(SolutionDir)bin\optimization_f.dll"\r
+                               LinkIncremental="2"\r
+                               ModuleDefinitionFile="optimization_f.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               TargetMachine="17"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|Win32"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="1"\r
+                       WholeProgramOptimization="1"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               Description="Build Dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X86 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="f2c rule"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               WholeProgramOptimization="false"\r
+                               AdditionalIncludeDirectories="../../../../libs/f2c"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_F2C_EXPORTS;FORDLL"\r
+                               RuntimeLibrary="2"\r
+                               EnableEnhancedInstructionSet="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Build optimization_f.def"\r
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimization_f.def &gt;nul&#x0D;&#x0A;copy optimization_f.def ..\optimization_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="Libscilab.lib optimization.lib"\r
+                               OutputFile="$(SolutionDir)bin\optimization_f.dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization_f.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               LinkTimeCodeGeneration="0"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               TargetMachine="1"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+               <Configuration\r
+                       Name="Release|x64"\r
+                       OutputDirectory="$(SolutionDir)$(ConfigurationName)"\r
+                       IntermediateDirectory="$(ConfigurationName)"\r
+                       ConfigurationType="2"\r
+                       CharacterSet="1"\r
+                       WholeProgramOptimization="1"\r
+                       >\r
+                       <Tool\r
+                               Name="VCPreBuildEventTool"\r
+                               Description="Build Dependencies"\r
+                               CommandLine="lib /DEF:&quot;$(InputDir)LibScilab_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)LibScilab.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;lib /DEF:&quot;$(InputDir)optimization_Import.def&quot; /SUBSYSTEM:WINDOWS /MACHINE:X64 /OUT:&quot;$(InputDir)optimization.lib&quot; 1&gt;NUL 2&gt;NUL&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCustomBuildTool"\r
+                       />\r
+                       <Tool\r
+                               Name="f2c rule"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXMLDataGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCWebServiceProxyGeneratorTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCMIDLTool"\r
+                               TargetEnvironment="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCCLCompilerTool"\r
+                               WholeProgramOptimization="false"\r
+                               AdditionalIncludeDirectories="../../../../libs/f2c"\r
+                               PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;OPTIMIZATION_F2C_EXPORTS;FORDLL"\r
+                               RuntimeLibrary="2"\r
+                               EnableEnhancedInstructionSet="1"\r
+                               UsePrecompiledHeader="0"\r
+                               WarningLevel="3"\r
+                               Detect64BitPortabilityProblems="false"\r
+                               DebugInformationFormat="3"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManagedResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCResourceCompilerTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPreLinkEventTool"\r
+                               Description="Build optimization_f.def"\r
+                               CommandLine="cd $(IntDir)&#x0D;&#x0A;for %%f in (*.obj) do  ..\..\..\..\..\bin\dumpexts -o %%~nf.def -n optimization_f.dll %%f &gt;nul&#x0D;&#x0A;copy *.def optimization_f.def &gt;nul&#x0D;&#x0A;copy optimization_f.def ..\optimization_f.vcdef &gt;nul&#x0D;&#x0A;del *.def &gt;nul&#x0D;&#x0A;cd ..&#x0D;&#x0A;copy optimization_f_header.def+optimization_f.vcdef optimization_f.def &gt;nul&#x0D;&#x0A;"\r
+                       />\r
+                       <Tool\r
+                               Name="VCLinkerTool"\r
+                               AdditionalDependencies="Libscilab.lib optimization.lib"\r
+                               OutputFile="$(SolutionDir)bin\optimization_f.dll"\r
+                               LinkIncremental="1"\r
+                               ModuleDefinitionFile="optimization_f.def"\r
+                               GenerateDebugInformation="true"\r
+                               SubSystem="2"\r
+                               OptimizeReferences="2"\r
+                               EnableCOMDATFolding="2"\r
+                               LinkTimeCodeGeneration="0"\r
+                               RandomizedBaseAddress="1"\r
+                               DataExecutionPrevention="0"\r
+                               TargetMachine="17"\r
+                               CLRUnmanagedCodeCheck="true"\r
+                       />\r
+                       <Tool\r
+                               Name="VCALinkTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCManifestTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCXDCMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCBscMakeTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCFxCopTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCAppVerifierTool"\r
+                       />\r
+                       <Tool\r
+                               Name="VCPostBuildEventTool"\r
+                       />\r
+               </Configuration>\r
+       </Configurations>\r
+       <References>\r
+       </References>\r
+       <Files>\r
+               <Filter\r
+                       Name="Source Files"\r
+                       Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"\r
+                       UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"\r
+                       >\r
+                       <File\r
+                               RelativePath=".\aind.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ajour.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm01.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm02.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm04.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm05.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm06.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anrs01.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anrs02.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\aux003.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\auxo01.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\bfgsd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bjsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\blsqrsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\boptim.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\calbx.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\calmaj.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ctcab.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ctonb.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dcube.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ddd2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\desr03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dimp03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dipvtf.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dnrm0.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dogleg.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dpmpar.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dpofa.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\enorm.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\Ex-fsolve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\Ex-lsqrsolve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\Ex-optim.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fajc1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fcomp1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fcube.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fdjac1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fdjac2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ffinf1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmani1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmc11a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmc11b.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmc11e.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmc11z.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmlag1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmulb1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fmuls1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fpq2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fprf2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\frdf1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fremf1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fremf2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fretc1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\fuclid.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\gcbd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\gcp.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\hybrd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\hybrd1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\hybrj.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\hybrj1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icscof.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icse.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icse0.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icse1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icse2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icsec2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\icsei.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\intlsqrsolve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\lmder.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\lmdif.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\lmpar.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\majour.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\majysa.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\majz.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1fc1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1fc1a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1fc1o.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1gc2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1gc2a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1gc2b.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn1.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn1a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn2a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn3.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\n1qn3a.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\nlis0.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\nlis2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\nvkt03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\optr01.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\optr03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\opvf03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\pasr03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\plcbas.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\proj.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qform.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ql0001.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qnbd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qpgen1sci.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qpgen2.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qrfac.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\qrsolv.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\r1mpyq.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\r1updt.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\rednor.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\relvar.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\rlbd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\satur.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\sci_f_fsolve.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\sci_f_optim.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\sci_f_quapro.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\sci_f_semidef.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\shanph.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\strang.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\tol03.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\util.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\writebuf.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\zgcbd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\zqnbd.c"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\zthz.c"\r
+                               >\r
+                       </File>\r
+               </Filter>\r
+               <Filter\r
+                       Name="Header Files"\r
+                       Filter="h;hpp;hxx;hm;inl;inc;xsd"\r
+                       UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"\r
+                       >\r
+               </Filter>\r
+               <Filter\r
+                       Name="Resource Files"\r
+                       Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"\r
+                       UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"\r
+                       >\r
+               </Filter>\r
+               <Filter\r
+                       Name="Fortran files"\r
+                       >\r
+                       <File\r
+                               RelativePath=".\aind.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ajour.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm01.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm02.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm03.f"\r
+                               >\r
+                               <FileConfiguration\r
+                                       Name="Debug|Win32"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Debug|x64"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Release|Win32"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Release|x64"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm04.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm05.f"\r
+                               >\r
+                               <FileConfiguration\r
+                                       Name="Debug|Win32"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Debug|x64"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Release|Win32"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                               <FileConfiguration\r
+                                       Name="Release|x64"\r
+                                       >\r
+                                       <Tool\r
+                                               Name="f2c rule"\r
+                                               CommandLine="&quot;$(SolutionDir)bin\f2c.exe&quot; -I..\..\..\core\includes -I..\..\..\..\core\includes &quot;$(InputDir)$(InputFileName)&quot; 2&gt;NUL&#x0D;&#x0A;&#x0D;&#x0A;"\r
+                                       />\r
+                               </FileConfiguration>\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anfm06.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anrs01.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\anrs02.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\aux003.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\auxo01.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\bfgsd.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bjlsqrsolv.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bjsolv.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\blsqrsolv.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\boptim.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath="..\..\sci_gateway\fortran\bsolv.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\calbx.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\calmaj.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ctcab.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ctonb.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dcube.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\ddd2.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\desr03.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dimp03.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dipvtf.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dnrm0.f"\r
+                               >\r
+                       </File>\r
+                       <File\r
+                               RelativePath=".\dogleg.f"\r
+                               >\r
+                     &nbs