From e34332a406e4f3fba9b99c6f9ec5138edfcc6aa2 Mon Sep 17 00:00:00 2001 From: Harpreet Date: Wed, 23 Sep 2015 18:22:28 +0530 Subject: qpipopt added --- demos/qpipopt.dem.sce | 44 ++ demos/symphony_mat_knapsack.sce | 1 + etc/Symphony.start | 7 +- help/en_US/master_help.xml | 2 + help/en_US/qpipopt.xml | 145 ++++ help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 6049 -> 6413 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | Bin 782 -> 787 bytes .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 234 -> 248 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 27895 -> 30648 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 +- help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 16384 -> 16384 bytes .../scilab_en_US_help/_LaTeX_qpipopt.xml_1.png | Bin 0 -> 3527 bytes .../scilab_en_US_help/_LaTeX_symphony.xml_1.png | Bin 2986 -> 2934 bytes .../_LaTeX_symphony_mat.xml_1.png | Bin 3094 -> 2934 bytes help/en_US/scilab_en_US_help/index.html | 8 +- help/en_US/scilab_en_US_help/jhelpmap.jhm | 1 + help/en_US/scilab_en_US_help/jhelptoc.xml | 1 + help/en_US/scilab_en_US_help/qpipopt.html | 143 ++++ .../section_0317555ae11e0354d453ec57ef8c1f09.html | 298 ++++++++ .../section_19f4f1e5726c01d683e8b82be0a7e910.html | 8 +- .../section_b483a09ee4bfb41798b9f2cf5a640a9c.html | 285 +++++++ help/en_US/scilab_en_US_help/symphony.html | 15 +- help/en_US/scilab_en_US_help/symphony_mat.html | 9 +- help/en_US/symphony.xml | 15 +- help/en_US/symphony_mat.xml | 19 +- jar/scilab_en_US_help.jar | Bin 165176 -> 177451 bytes macros/lib | Bin 432 -> 456 bytes macros/names | 1 + macros/qpipopt.bin | Bin 0 -> 26088 bytes macros/qpipopt.sci | 174 +++++ macros/symphony.bin | Bin 42972 -> 43716 bytes macros/symphony.sci | 8 +- macros/symphony_mat.bin | Bin 45392 -> 45744 bytes macros/symphony_mat.sci | 20 +- sci_gateway/cpp/QuadNLP.hpp | 131 ++++ sci_gateway/cpp/builder_gateway_cpp.sce | 12 +- sci_gateway/cpp/builder_gateway_cpp.sce~ | 150 ++++ sci_gateway/cpp/cleaner.sce | 8 +- sci_gateway/cpp/libFAMOS.c | 146 ++++ sci_gateway/cpp/libFAMOS.so | Bin 0 -> 122770 bytes sci_gateway/cpp/loader.sce | 9 +- sci_gateway/cpp/sci_QuadNLP.cpp | 248 +++++++ sci_gateway/cpp/sci_ipopt.cpp | 194 +++++ thirdparty/linux/include/coin/HSLLoader.h | 378 ++++++++++ thirdparty/linux/include/coin/IpAlgTypes.hpp | 66 ++ thirdparty/linux/include/coin/IpBlas.hpp | 78 ++ thirdparty/linux/include/coin/IpCachedResults.hpp | 779 ++++++++++++++++++++ thirdparty/linux/include/coin/IpCompoundVector.hpp | 339 +++++++++ thirdparty/linux/include/coin/IpDebug.hpp | 150 ++++ thirdparty/linux/include/coin/IpDenseVector.hpp | 550 ++++++++++++++ thirdparty/linux/include/coin/IpException.hpp | 147 ++++ .../linux/include/coin/IpExpansionMatrix.hpp | 212 ++++++ .../linux/include/coin/IpIpoptApplication.hpp | 275 +++++++ .../include/coin/IpIpoptCalculatedQuantities.hpp | 751 +++++++++++++++++++ thirdparty/linux/include/coin/IpIpoptData.hpp | 819 +++++++++++++++++++++ thirdparty/linux/include/coin/IpIpoptNLP.hpp | 261 +++++++ thirdparty/linux/include/coin/IpIteratesVector.hpp | 689 +++++++++++++++++ thirdparty/linux/include/coin/IpJournalist.hpp | 497 +++++++++++++ thirdparty/linux/include/coin/IpLapack.hpp | 55 ++ thirdparty/linux/include/coin/IpMatrix.hpp | 345 +++++++++ thirdparty/linux/include/coin/IpNLP.hpp | 243 ++++++ thirdparty/linux/include/coin/IpNLPScaling.hpp | 451 ++++++++++++ thirdparty/linux/include/coin/IpObserver.hpp | 366 +++++++++ thirdparty/linux/include/coin/IpOptionsList.hpp | 289 ++++++++ thirdparty/linux/include/coin/IpOrigIpoptNLP.hpp | 488 ++++++++++++ thirdparty/linux/include/coin/IpReferenced.hpp | 258 +++++++ thirdparty/linux/include/coin/IpRegOptions.hpp | 658 +++++++++++++++++ thirdparty/linux/include/coin/IpReturnCodes.h | 18 + thirdparty/linux/include/coin/IpReturnCodes.hpp | 21 + thirdparty/linux/include/coin/IpReturnCodes.inc | 70 ++ thirdparty/linux/include/coin/IpReturnCodes_inc.h | 46 ++ thirdparty/linux/include/coin/IpSmartPtr.hpp | 734 ++++++++++++++++++ .../linux/include/coin/IpSolveStatistics.hpp | 150 ++++ thirdparty/linux/include/coin/IpStdCInterface.h | 271 +++++++ thirdparty/linux/include/coin/IpSymMatrix.hpp | 162 ++++ thirdparty/linux/include/coin/IpTNLP.hpp | 301 ++++++++ thirdparty/linux/include/coin/IpTNLPAdapter.hpp | 427 +++++++++++ thirdparty/linux/include/coin/IpTNLPReducer.hpp | 180 +++++ thirdparty/linux/include/coin/IpTaggedObject.hpp | 161 ++++ thirdparty/linux/include/coin/IpTimedTask.hpp | 146 ++++ .../linux/include/coin/IpTimingStatistics.hpp | 213 ++++++ thirdparty/linux/include/coin/IpTypes.hpp | 28 + thirdparty/linux/include/coin/IpUtils.hpp | 128 ++++ thirdparty/linux/include/coin/IpVector.hpp | 774 +++++++++++++++++++ thirdparty/linux/include/coin/IpoptConfig.h | 22 + thirdparty/linux/include/coin/PardisoLoader.h | 41 ++ thirdparty/linux/include/coin/ThirdParty/defs.h | 161 ++++ .../linux/include/coin/ThirdParty/dmumps_c.h | 159 ++++ thirdparty/linux/include/coin/ThirdParty/macros.h | 143 ++++ thirdparty/linux/include/coin/ThirdParty/metis.h | 37 + thirdparty/linux/include/coin/ThirdParty/mpi.h | 77 ++ .../linux/include/coin/ThirdParty/mumps_c_types.h | 92 +++ .../linux/include/coin/ThirdParty/mumps_compat.h | 78 ++ thirdparty/linux/include/coin/ThirdParty/proto.h | 505 +++++++++++++ thirdparty/linux/include/coin/ThirdParty/rename.h | 418 +++++++++++ thirdparty/linux/include/coin/ThirdParty/struct.h | 251 +++++++ thirdparty/linux/lib/x64/libcoinblas.la | 35 + thirdparty/linux/lib/x64/libcoinblas.so | 1 + thirdparty/linux/lib/x64/libcoinblas.so.1 | 1 + thirdparty/linux/lib/x64/libcoinblas.so.1.4.4 | Bin 0 -> 163772 bytes thirdparty/linux/lib/x64/libcoinlapack.la | 35 + thirdparty/linux/lib/x64/libcoinlapack.so | 1 + thirdparty/linux/lib/x64/libcoinlapack.so.1 | 1 + thirdparty/linux/lib/x64/libcoinlapack.so.1.5.4 | Bin 0 -> 583015 bytes thirdparty/linux/lib/x64/libcoinmetis.la | 35 + thirdparty/linux/lib/x64/libcoinmetis.so | 1 + thirdparty/linux/lib/x64/libcoinmetis.so.1 | 1 + thirdparty/linux/lib/x64/libcoinmetis.so.1.2.4 | Bin 0 -> 330832 bytes thirdparty/linux/lib/x64/libcoinmetis.so.1.3.4 | Bin 0 -> 330879 bytes thirdparty/linux/lib/x64/libcoinmumps.la | 35 + thirdparty/linux/lib/x64/libcoinmumps.so | 1 + thirdparty/linux/lib/x64/libcoinmumps.so.1 | 1 + thirdparty/linux/lib/x64/libcoinmumps.so.1.4.7 | Bin 0 -> 1659578 bytes thirdparty/linux/lib/x64/libcoinmumps.so.1.5.4 | Bin 0 -> 1644186 bytes thirdparty/linux/lib/x64/libipopt.la | 35 + thirdparty/linux/lib/x64/libipopt.so | 1 + thirdparty/linux/lib/x64/libipopt.so.1 | 1 + thirdparty/linux/lib/x64/libipopt.so.1.10.4 | Bin 0 -> 2568699 bytes thirdparty/linux/lib/x64/libipopt.so.1.9.0 | Bin 0 -> 2545102 bytes thirdparty/linux/lib/x86/libcoinmetis.la | 35 + thirdparty/linux/lib/x86/libcoinmetis.so | 1 + thirdparty/linux/lib/x86/libcoinmetis.so.1 | 1 + thirdparty/linux/lib/x86/libcoinmetis.so.1.2.4 | Bin 0 -> 309229 bytes thirdparty/linux/lib/x86/libcoinmumps.la | 35 + thirdparty/linux/lib/x86/libcoinmumps.so | 1 + thirdparty/linux/lib/x86/libcoinmumps.so.1 | 1 + thirdparty/linux/lib/x86/libcoinmumps.so.1.4.7 | Bin 0 -> 1588671 bytes thirdparty/linux/lib/x86/libipopt.la | 35 + thirdparty/linux/lib/x86/libipopt.so | 1 + thirdparty/linux/lib/x86/libipopt.so.1 | 1 + thirdparty/linux/lib/x86/libipopt.so.1.9.0 | Bin 0 -> 2442161 bytes 131 files changed, 17302 insertions(+), 56 deletions(-) create mode 100644 demos/qpipopt.dem.sce create mode 100644 help/en_US/qpipopt.xml create mode 100644 help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png create mode 100644 help/en_US/scilab_en_US_help/qpipopt.html create mode 100644 help/en_US/scilab_en_US_help/section_0317555ae11e0354d453ec57ef8c1f09.html create mode 100644 help/en_US/scilab_en_US_help/section_b483a09ee4bfb41798b9f2cf5a640a9c.html create mode 100644 macros/qpipopt.bin create mode 100644 macros/qpipopt.sci create mode 100644 sci_gateway/cpp/QuadNLP.hpp create mode 100644 sci_gateway/cpp/builder_gateway_cpp.sce~ create mode 100644 sci_gateway/cpp/libFAMOS.c create mode 100755 sci_gateway/cpp/libFAMOS.so create mode 100644 sci_gateway/cpp/sci_QuadNLP.cpp create mode 100644 sci_gateway/cpp/sci_ipopt.cpp create mode 100644 thirdparty/linux/include/coin/HSLLoader.h create mode 100644 thirdparty/linux/include/coin/IpAlgTypes.hpp create mode 100644 thirdparty/linux/include/coin/IpBlas.hpp create mode 100644 thirdparty/linux/include/coin/IpCachedResults.hpp create mode 100644 thirdparty/linux/include/coin/IpCompoundVector.hpp create mode 100644 thirdparty/linux/include/coin/IpDebug.hpp create mode 100644 thirdparty/linux/include/coin/IpDenseVector.hpp create mode 100644 thirdparty/linux/include/coin/IpException.hpp create mode 100644 thirdparty/linux/include/coin/IpExpansionMatrix.hpp create mode 100644 thirdparty/linux/include/coin/IpIpoptApplication.hpp create mode 100644 thirdparty/linux/include/coin/IpIpoptCalculatedQuantities.hpp create mode 100644 thirdparty/linux/include/coin/IpIpoptData.hpp create mode 100644 thirdparty/linux/include/coin/IpIpoptNLP.hpp create mode 100644 thirdparty/linux/include/coin/IpIteratesVector.hpp create mode 100644 thirdparty/linux/include/coin/IpJournalist.hpp create mode 100644 thirdparty/linux/include/coin/IpLapack.hpp create mode 100644 thirdparty/linux/include/coin/IpMatrix.hpp create mode 100644 thirdparty/linux/include/coin/IpNLP.hpp create mode 100644 thirdparty/linux/include/coin/IpNLPScaling.hpp create mode 100644 thirdparty/linux/include/coin/IpObserver.hpp create mode 100644 thirdparty/linux/include/coin/IpOptionsList.hpp create mode 100644 thirdparty/linux/include/coin/IpOrigIpoptNLP.hpp create mode 100644 thirdparty/linux/include/coin/IpReferenced.hpp create mode 100644 thirdparty/linux/include/coin/IpRegOptions.hpp create mode 100644 thirdparty/linux/include/coin/IpReturnCodes.h create mode 100644 thirdparty/linux/include/coin/IpReturnCodes.hpp create mode 100644 thirdparty/linux/include/coin/IpReturnCodes.inc create mode 100644 thirdparty/linux/include/coin/IpReturnCodes_inc.h create mode 100644 thirdparty/linux/include/coin/IpSmartPtr.hpp create mode 100644 thirdparty/linux/include/coin/IpSolveStatistics.hpp create mode 100644 thirdparty/linux/include/coin/IpStdCInterface.h create mode 100644 thirdparty/linux/include/coin/IpSymMatrix.hpp create mode 100644 thirdparty/linux/include/coin/IpTNLP.hpp create mode 100644 thirdparty/linux/include/coin/IpTNLPAdapter.hpp create mode 100644 thirdparty/linux/include/coin/IpTNLPReducer.hpp create mode 100644 thirdparty/linux/include/coin/IpTaggedObject.hpp create mode 100644 thirdparty/linux/include/coin/IpTimedTask.hpp create mode 100644 thirdparty/linux/include/coin/IpTimingStatistics.hpp create mode 100644 thirdparty/linux/include/coin/IpTypes.hpp create mode 100644 thirdparty/linux/include/coin/IpUtils.hpp create mode 100644 thirdparty/linux/include/coin/IpVector.hpp create mode 100644 thirdparty/linux/include/coin/IpoptConfig.h create mode 100644 thirdparty/linux/include/coin/PardisoLoader.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/defs.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/dmumps_c.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/macros.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/metis.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/mpi.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/mumps_c_types.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/mumps_compat.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/proto.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/rename.h create mode 100644 thirdparty/linux/include/coin/ThirdParty/struct.h create mode 100755 thirdparty/linux/lib/x64/libcoinblas.la create mode 120000 thirdparty/linux/lib/x64/libcoinblas.so create mode 120000 thirdparty/linux/lib/x64/libcoinblas.so.1 create mode 100755 thirdparty/linux/lib/x64/libcoinblas.so.1.4.4 create mode 100755 thirdparty/linux/lib/x64/libcoinlapack.la create mode 120000 thirdparty/linux/lib/x64/libcoinlapack.so create mode 120000 thirdparty/linux/lib/x64/libcoinlapack.so.1 create mode 100755 thirdparty/linux/lib/x64/libcoinlapack.so.1.5.4 create mode 100755 thirdparty/linux/lib/x64/libcoinmetis.la create mode 120000 thirdparty/linux/lib/x64/libcoinmetis.so create mode 120000 thirdparty/linux/lib/x64/libcoinmetis.so.1 create mode 100755 thirdparty/linux/lib/x64/libcoinmetis.so.1.2.4 create mode 100755 thirdparty/linux/lib/x64/libcoinmetis.so.1.3.4 create mode 100755 thirdparty/linux/lib/x64/libcoinmumps.la create mode 120000 thirdparty/linux/lib/x64/libcoinmumps.so create mode 120000 thirdparty/linux/lib/x64/libcoinmumps.so.1 create mode 100755 thirdparty/linux/lib/x64/libcoinmumps.so.1.4.7 create mode 100755 thirdparty/linux/lib/x64/libcoinmumps.so.1.5.4 create mode 100755 thirdparty/linux/lib/x64/libipopt.la create mode 120000 thirdparty/linux/lib/x64/libipopt.so create mode 120000 thirdparty/linux/lib/x64/libipopt.so.1 create mode 100755 thirdparty/linux/lib/x64/libipopt.so.1.10.4 create mode 100755 thirdparty/linux/lib/x64/libipopt.so.1.9.0 create mode 100755 thirdparty/linux/lib/x86/libcoinmetis.la create mode 120000 thirdparty/linux/lib/x86/libcoinmetis.so create mode 120000 thirdparty/linux/lib/x86/libcoinmetis.so.1 create mode 100755 thirdparty/linux/lib/x86/libcoinmetis.so.1.2.4 create mode 100755 thirdparty/linux/lib/x86/libcoinmumps.la create mode 120000 thirdparty/linux/lib/x86/libcoinmumps.so create mode 120000 thirdparty/linux/lib/x86/libcoinmumps.so.1 create mode 100755 thirdparty/linux/lib/x86/libcoinmumps.so.1.4.7 create mode 100755 thirdparty/linux/lib/x86/libipopt.la create mode 120000 thirdparty/linux/lib/x86/libipopt.so create mode 120000 thirdparty/linux/lib/x86/libipopt.so.1 create mode 100755 thirdparty/linux/lib/x86/libipopt.so.1.9.0 diff --git a/demos/qpipopt.dem.sce b/demos/qpipopt.dem.sce new file mode 100644 index 0000000..4f20a4a --- /dev/null +++ b/demos/qpipopt.dem.sce @@ -0,0 +1,44 @@ +mode(1) +// +// Demo of qpipopt.sci +// + +//Find x in R^6 such that: +halt() // Press return to continue + +conMatrix= [1,-1,1,0,3,1; +-1,0,-3,-4,5,6; +2,5,3,0,1,0 +0,1,0,1,2,-1; +-1,0,2,1,1,0]; +conLB=[1 2 3 -%inf -%inf]'; +conUB = [1 2 3 -1 2.5]'; +lb=[-1000 -10000 0 -1000 -1000 -1000]; +ub=[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); +nbVar = 6; +nbCon = 5; +[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB) +halt() // Press return to continue + +//min. -8*x1 -16*x2 + x1^2 + 4* x2^2 +// such that +// x1 + x2 <= 5, +// x1 <= 3, +// x1 >= 0, +// x2 >= 0 +conMatrix= [1 1]; +conLB=[-%inf]; +conUB = [5]; +lb=[0,0]; +ub=[3,%inf]; +//and minimize 0.5*x'*Q*x + p'*x with +p=[-8,-16]; +Q=[1,0;0,4]; +nbVar = 2; +nbCon = 1; +[xopt,fopt,exitflag,output,lambda] = qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB) +halt() // Press return to continue + +//========= E N D === O F === D E M O =========// diff --git a/demos/symphony_mat_knapsack.sce b/demos/symphony_mat_knapsack.sce index 8fa57f9..47c85e2 100644 --- a/demos/symphony_mat_knapsack.sce +++ b/demos/symphony_mat_knapsack.sce @@ -23,6 +23,7 @@ objCoef = -1*[ 504 803 667 1103 834 585 811 856 690 832 846 813 868 793 .. 959 668 507 855 986 831 821 825 868 852 832 828 799 686 .. 510 671 575 740 510 675 996 636 826 1022 1140 654 909 799 .. 1162 653 814 625 599 476 767 954 906 904 649 873 565 853 1008 632] + //Constraint Matrix conMatrix = [ //Constraint 1 42 41 523 215 819 551 69 193 582 375 367 478 162 898 .. diff --git a/etc/Symphony.start b/etc/Symphony.start index a7c3ebe..61eedbc 100644 --- a/etc/Symphony.start +++ b/etc/Symphony.start @@ -9,7 +9,7 @@ // are also available at // http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt -mprintf("Start Symphony\n"); +mprintf("Start FAMOS\n"); if ( isdef("sym_open") ) then warning("Library is already loaded"); @@ -47,6 +47,11 @@ else link(lib_path + "/libCgl.so"); link(lib_path + "/libSym.so"); link(lib_path + "/libOsiSym.so"); + link(lib_path + "/libcoinblas.so"); + link(lib_path + "/libcoinmetis.so"); + link(lib_path + "/libcoinmumps.so"); + link(lib_path + "/libipopt.so"); + end exec(pathconvert(root_tlbx + filesep() + "sci_gateway" + filesep() + "loader_gateway.sce",%f)); diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml index 9085a07..85ff9e0 100644 --- a/help/en_US/master_help.xml +++ b/help/en_US/master_help.xml @@ -1,6 +1,7 @@ + @@ -77,6 +78,7 @@ Symphony Toolbox +&a6b85f6e0c98751f20b68663a23cb4cd2; &aca972f273143ecb39f56b42e4723ac67; &a9953e61e8dd264a86df73772d3055e7f; diff --git a/help/en_US/qpipopt.xml b/help/en_US/qpipopt.xml new file mode 100644 index 0000000..d93f758 --- /dev/null +++ b/help/en_US/qpipopt.xml @@ -0,0 +1,145 @@ + + + + + + + + qpipopt + Solves a linear quadratic problem. + + + + + Calling Sequence + + xopt = qpipopt(nbVar,nbCon,Q,p,LB,UB,conMatrix,conLB,conUB) + [xopt,fopt,exitflag,output,lamda] = qpipopt( ... ) + + + + + + Parameters + + nbVar : + a 1 x 1 matrix of doubles, number of variables + nbCon : + a 1 x 1 matrix of doubles, number of constraints + Q : + a n x n matrix of doubles, where n is number of variables, represents coefficients of quadratic in the quadratic problem. + p : + a 1 x n matrix of doubles, where n is number of variables, represents coefficients of linear in the quadratic problem + LB : + a 1 x n matrix of doubles, where n is number of variables, contains lower bounds of the variables. + UB : + a 1 x n matrix of doubles, where n is number of variables, contains upper bounds of the variables. + conMatrix : + a m x n matrix of doubles, where n is number of variables and m is number of constraints, contains matrix representing the constraint matrix + conLB : + a m x 1 matrix of doubles, where m is number of constraints, contains lower bounds of the constraints. + conUB : + a m x 1 matrix of doubles, where m is number of constraints, contains upper bounds of the constraints. + xopt : + a 1xn matrix of doubles, the computed solution of the optimization problem. + fopt : + a 1x1 matrix of doubles, the function value at x. + exitflag : + Integer identifying the reason the algorithm terminated. + output : + Structure containing information about the optimization. + lambda : + Structure containing the Lagrange multipliers at the solution x (separated by constraint type). + + + + + Description + +Search the minimum of a constrained linear quadratic optimization problem specified by : +find the minimum of f(x) such that + + + +\begin{eqnarray} +&\mbox{min}_{x} +& 1/2*x'*Q*x + p'*x \\ +& \text{subject to} & conLB \leq C(x) \leq conUB \\ +& & lb \leq x \leq ub \\ +\end{eqnarray} + + + +We are calling IPOpt for solving the quadratic problem, IPOpt is a library written in C++. The code has been written by ​Andreas Wächter and ​Carl Laird. + + + + + + + Examples + + + + + Examples + = 0, +// x2 >= 0 +conMatrix= [1 1]; +conLB=[-%inf]; +conUB = [5]; +//with x between ci and cs: +lb=[0,0]; +ub=[3,%inf]; +//and minimize 0.5*x'*Q*x + p'*x with +p=[-8,-16]; +Q=[1,0;0,4]; +nbVar = 2; +nbCon = 1; +[xopt,fopt,exitflag,output,lambda] = qpipopt(nbVar,nbCon,Q,p,lb,ub,conMatrix,conLB,conUB) + + ]]> + + + + Authors + + Keyur Joshi, Saikiran, Iswarya, Harpreet Singh + + + diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS index 85c06d2..388e399 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB index 7963a04..7682874 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB and b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS index 2aa71c0..d55c7ec 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS index d7cedfa..b598af6 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA index 38b7702..60e895c 100644 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA @@ -1,2 +1,2 @@ JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1306 id2=1 +TMAP bs=2048 rt=1 fl=-1 id1=1344 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP index 6dddfa5..31347cf 100644 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png new file mode 100644 index 0000000..6750af2 Binary files /dev/null and b/help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png index b3e5007..07dafd6 100644 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png and b/help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png index d688e8a..07dafd6 100644 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png and b/help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png differ diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html index 86c25b4..49a4619 100644 --- a/help/en_US/scilab_en_US_help/index.html +++ b/help/en_US/scilab_en_US_help/index.html @@ -32,7 +32,13 @@