From d5a0869a7d1482b67f3fd42805948ee30a05eb1e Mon Sep 17 00:00:00 2001 From: Harpreet Date: Thu, 4 Feb 2016 15:36:02 +0530 Subject: Source files --- help/cleaner_help.sce | 21 ++ help/en_US/master_help.xml | 164 ---------- help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS | Bin 8644 -> 0 bytes .../scilab_en_US_help/JavaHelpSearch/DOCS.TAB | 3 - .../en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS | Bin 304 -> 0 bytes .../scilab_en_US_help/JavaHelpSearch/POSITIONS | Bin 47520 -> 0 bytes help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA | 2 - help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP | Bin 18432 -> 0 bytes help/en_US/scilab_en_US_help/ScilabCaution.png | Bin 513 -> 0 bytes help/en_US/scilab_en_US_help/ScilabEdit.png | Bin 414 -> 0 bytes help/en_US/scilab_en_US_help/ScilabExecute.png | Bin 535 -> 0 bytes help/en_US/scilab_en_US_help/ScilabImportant.png | Bin 637 -> 0 bytes help/en_US/scilab_en_US_help/ScilabNote.png | Bin 687 -> 0 bytes help/en_US/scilab_en_US_help/ScilabTip.png | Bin 687 -> 0 bytes help/en_US/scilab_en_US_help/ScilabWarning.png | Bin 513 -> 0 bytes .../scilab_en_US_help/_LaTeX_fgoalattain.xml_1.png | Bin 4343 -> 0 bytes .../scilab_en_US_help/_LaTeX_fminbnd.xml_1.png | Bin 1792 -> 0 bytes .../scilab_en_US_help/_LaTeX_fmincon.xml_1.png | Bin 3781 -> 0 bytes .../scilab_en_US_help/_LaTeX_fminimax.xml_1.png | Bin 5367 -> 0 bytes .../scilab_en_US_help/_LaTeX_fminimax.xml_2.png | Bin 1295 -> 0 bytes .../scilab_en_US_help/_LaTeX_fminunc.xml_1.png | Bin 714 -> 0 bytes .../scilab_en_US_help/_LaTeX_linprog.xml_1.png | Bin 2509 -> 0 bytes .../scilab_en_US_help/_LaTeX_lsqlin.xml_1.png | Bin 3046 -> 0 bytes .../scilab_en_US_help/_LaTeX_lsqnonneg.xml_1.png | Bin 1456 -> 0 bytes .../scilab_en_US_help/_LaTeX_qpipopt.xml_1.png | Bin 3304 -> 0 bytes .../scilab_en_US_help/_LaTeX_qpipopt_mat.xml_1.png | Bin 3110 -> 0 bytes .../scilab_en_US_help/_LaTeX_qpipoptmat.xml_1.png | Bin 3148 -> 0 bytes .../scilab_en_US_help/_LaTeX_symphony.xml_1.png | Bin 3383 -> 0 bytes .../_LaTeX_symphony_mat.xml_1.png | Bin 2934 -> 0 bytes .../scilab_en_US_help/_LaTeX_symphonymat.xml_1.png | Bin 3140 -> 0 bytes help/en_US/scilab_en_US_help/c_code.css | 54 ---- help/en_US/scilab_en_US_help/fgoalattain.html | 187 ----------- help/en_US/scilab_en_US_help/fminbnd.html | 176 ----------- help/en_US/scilab_en_US_help/fmincon.html | 305 ------------------ help/en_US/scilab_en_US_help/fminimax.html | 237 -------------- help/en_US/scilab_en_US_help/fminunc.html | 180 ----------- help/en_US/scilab_en_US_help/index.html | 352 --------------------- help/en_US/scilab_en_US_help/index.html~ | 291 ----------------- help/en_US/scilab_en_US_help/jhelpidx.xml | 3 - help/en_US/scilab_en_US_help/jhelpmap.jhm | 77 ----- help/en_US/scilab_en_US_help/jhelpset.hs | 28 -- help/en_US/scilab_en_US_help/jhelptoc.xml | 80 ----- help/en_US/scilab_en_US_help/linprog.html | 192 ----------- help/en_US/scilab_en_US_help/lsqlin.html | 175 ---------- help/en_US/scilab_en_US_help/lsqnonneg.html | 129 -------- help/en_US/scilab_en_US_help/qpipopt.html | 175 ---------- help/en_US/scilab_en_US_help/qpipopt_mat.html | 139 -------- help/en_US/scilab_en_US_help/qpipoptmat.html | 171 ---------- help/en_US/scilab_en_US_help/scilab_code.css | 96 ------ .../section_0317555ae11e0354d453ec57ef8c1f09.html | 298 ----------------- .../section_19f4f1e5726c01d683e8b82be0a7e910.html | 352 --------------------- .../section_19f4f1e5726c01d683e8b82be0a7e910.html~ | 296 ----------------- .../section_508f0b211d17ea6769714cc144e6b731.html | 285 ----------------- .../section_55504497b369d5dbff95caa93ffab1ff.html | 283 ----------------- .../section_b483a09ee4bfb41798b9f2cf5a640a9c.html | 285 ----------------- .../section_bee7f332db33892256e9f1f82b7d348f.html | 283 ----------------- help/en_US/scilab_en_US_help/setOptions.html | 59 ---- help/en_US/scilab_en_US_help/style.css | 350 -------------------- help/en_US/scilab_en_US_help/sym_addConstr.html | 91 ------ help/en_US/scilab_en_US_help/sym_addVar.html | 93 ------ help/en_US/scilab_en_US_help/sym_close.html | 84 ----- .../en_US/scilab_en_US_help/sym_deleteConstrs.html | 81 ----- help/en_US/scilab_en_US_help/sym_deleteVars.html | 81 ----- .../scilab_en_US_help/sym_getConstrActivity.html | 83 ----- .../scilab_en_US_help/sym_getConstrLower.html | 83 ----- .../scilab_en_US_help/sym_getConstrRange.html | 83 ----- .../scilab_en_US_help/sym_getConstrSense.html | 83 ----- .../scilab_en_US_help/sym_getConstrUpper.html | 83 ----- help/en_US/scilab_en_US_help/sym_getDblParam.html | 81 ----- help/en_US/scilab_en_US_help/sym_getInfinity.html | 82 ----- help/en_US/scilab_en_US_help/sym_getIntParam.html | 81 ----- help/en_US/scilab_en_US_help/sym_getIterCount.html | 83 ----- help/en_US/scilab_en_US_help/sym_getMatrix.html | 83 ----- help/en_US/scilab_en_US_help/sym_getNumConstr.html | 82 ----- .../scilab_en_US_help/sym_getNumElements.html | 82 ----- help/en_US/scilab_en_US_help/sym_getNumVar.html | 82 ----- help/en_US/scilab_en_US_help/sym_getObjCoeff.html | 83 ----- help/en_US/scilab_en_US_help/sym_getObjSense.html | 82 ----- help/en_US/scilab_en_US_help/sym_getObjVal.html | 83 ----- .../scilab_en_US_help/sym_getPrimalBound.html | 82 ----- help/en_US/scilab_en_US_help/sym_getRhs.html | 83 ----- help/en_US/scilab_en_US_help/sym_getStatus.html | 83 ----- help/en_US/scilab_en_US_help/sym_getStrParam.html | 81 ----- help/en_US/scilab_en_US_help/sym_getVarLower.html | 83 ----- help/en_US/scilab_en_US_help/sym_getVarSoln.html | 83 ----- help/en_US/scilab_en_US_help/sym_getVarUpper.html | 83 ----- help/en_US/scilab_en_US_help/sym_isAbandoned.html | 83 ----- help/en_US/scilab_en_US_help/sym_isBinary.html | 83 ----- help/en_US/scilab_en_US_help/sym_isContinuous.html | 83 ----- help/en_US/scilab_en_US_help/sym_isEnvActive.html | 82 ----- help/en_US/scilab_en_US_help/sym_isInfeasible.html | 83 ----- help/en_US/scilab_en_US_help/sym_isInteger.html | 77 ----- .../scilab_en_US_help/sym_isIterLimitReached.html | 84 ----- help/en_US/scilab_en_US_help/sym_isOptimal.html | 84 ----- .../scilab_en_US_help/sym_isTargetGapAchieved.html | 83 ----- .../scilab_en_US_help/sym_isTimeLimitReached.html | 83 ----- help/en_US/scilab_en_US_help/sym_loadMPS.html | 82 ----- help/en_US/scilab_en_US_help/sym_loadProblem.html | 102 ------ .../scilab_en_US_help/sym_loadProblemBasic.html | 103 ------ help/en_US/scilab_en_US_help/sym_open.html | 84 ----- help/en_US/scilab_en_US_help/sym_resetParams.html | 80 ----- .../scilab_en_US_help/sym_setConstrLower.html | 85 ----- .../en_US/scilab_en_US_help/sym_setConstrType.html | 91 ------ .../scilab_en_US_help/sym_setConstrUpper.html | 85 ----- .../en_US/scilab_en_US_help/sym_setContinuous.html | 81 ----- help/en_US/scilab_en_US_help/sym_setDblParam.html | 83 ----- help/en_US/scilab_en_US_help/sym_setIntParam.html | 83 ----- help/en_US/scilab_en_US_help/sym_setInteger.html | 81 ----- help/en_US/scilab_en_US_help/sym_setObjCoeff.html | 85 ----- help/en_US/scilab_en_US_help/sym_setObjSense.html | 83 ----- .../scilab_en_US_help/sym_setPrimalBound.html | 83 ----- help/en_US/scilab_en_US_help/sym_setStrParam.html | 83 ----- help/en_US/scilab_en_US_help/sym_setVarLower.html | 85 ----- help/en_US/scilab_en_US_help/sym_setVarSoln.html | 84 ----- help/en_US/scilab_en_US_help/sym_setVarUpper.html | 85 ----- help/en_US/scilab_en_US_help/sym_solve.html | 81 ----- help/en_US/scilab_en_US_help/symphony.html | 224 ------------- help/en_US/scilab_en_US_help/symphony_call.html | 59 ---- help/en_US/scilab_en_US_help/symphony_mat.html | 200 ------------ help/en_US/scilab_en_US_help/symphony_mat.html~ | 197 ------------ help/en_US/scilab_en_US_help/symphonymat.html | 213 ------------- help/en_US/scilab_en_US_help/xml_code.css | 94 ------ jar/README.rst | 5 - jar/scilab_en_US_help.jar | Bin 270359 -> 0 bytes loader.sce | 10 - macros/Checkdims.bin | Bin 8188 -> 0 bytes macros/Checklhs.bin | Bin 10312 -> 0 bytes macros/Checkrhs.bin | Bin 12852 -> 0 bytes macros/Checktype.bin | Bin 9156 -> 0 bytes macros/Checkvector.bin | Bin 9696 -> 0 bytes macros/cleanmacros.sce | 20 ++ macros/fgoalattain.bin | Bin 76912 -> 0 bytes macros/fgoalattain.sci | 1 - macros/fminbnd.bin | Bin 54876 -> 0 bytes macros/fmincon.bin | Bin 149512 -> 0 bytes macros/fmincon.sci | 12 +- macros/fminimax.bin | Bin 86512 -> 0 bytes macros/fminunc.bin | Bin 60896 -> 0 bytes macros/lib | Bin 840 -> 0 bytes macros/linprog.bin | Bin 30012 -> 0 bytes macros/lsqlin.bin | Bin 64528 -> 0 bytes macros/lsqnonneg.bin | Bin 33808 -> 0 bytes macros/matrix_linprog.bin | Bin 31100 -> 0 bytes macros/mps_linprog.bin | Bin 10064 -> 0 bytes macros/names | 21 -- macros/qpipopt.bin | Bin 63432 -> 0 bytes macros/qpipoptmat.bin | Bin 66084 -> 0 bytes macros/qpipoptmat.sci | 15 +- macros/setOptions.bin | Bin 3040 -> 0 bytes macros/symphony.bin | Bin 62044 -> 0 bytes macros/symphony_call.bin | Bin 4592 -> 0 bytes macros/symphonymat.bin | Bin 65436 -> 0 bytes sci_gateway/cpp/libFAMOS.c | 156 --------- sci_gateway/cpp/libFAMOS.so | Bin 199006 -> 0 bytes sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.c | 156 --------- sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.so | Bin 199050 -> 0 bytes sci_gateway/cpp/loader.sce | 84 ----- sci_gateway/loader_gateway.sce | 24 -- unloader.sce | 14 - 159 files changed, 48 insertions(+), 12046 deletions(-) create mode 100644 help/cleaner_help.sce delete mode 100644 help/en_US/master_help.xml delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA delete mode 100644 help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP delete mode 100644 help/en_US/scilab_en_US_help/ScilabCaution.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabEdit.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabExecute.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabImportant.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabNote.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabTip.png delete mode 100644 help/en_US/scilab_en_US_help/ScilabWarning.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fgoalattain.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fminbnd.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fmincon.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_2.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_fminunc.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_linprog.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_lsqlin.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_lsqnonneg.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_qpipopt_mat.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_qpipoptmat.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/_LaTeX_symphonymat.xml_1.png delete mode 100644 help/en_US/scilab_en_US_help/c_code.css delete mode 100644 help/en_US/scilab_en_US_help/fgoalattain.html delete mode 100644 help/en_US/scilab_en_US_help/fminbnd.html delete mode 100644 help/en_US/scilab_en_US_help/fmincon.html delete mode 100644 help/en_US/scilab_en_US_help/fminimax.html delete mode 100644 help/en_US/scilab_en_US_help/fminunc.html delete mode 100644 help/en_US/scilab_en_US_help/index.html delete mode 100644 help/en_US/scilab_en_US_help/index.html~ delete mode 100644 help/en_US/scilab_en_US_help/jhelpidx.xml delete mode 100644 help/en_US/scilab_en_US_help/jhelpmap.jhm delete mode 100644 help/en_US/scilab_en_US_help/jhelpset.hs delete mode 100644 help/en_US/scilab_en_US_help/jhelptoc.xml delete mode 100644 help/en_US/scilab_en_US_help/linprog.html delete mode 100644 help/en_US/scilab_en_US_help/lsqlin.html delete mode 100644 help/en_US/scilab_en_US_help/lsqnonneg.html delete mode 100644 help/en_US/scilab_en_US_help/qpipopt.html delete mode 100644 help/en_US/scilab_en_US_help/qpipopt_mat.html delete mode 100644 help/en_US/scilab_en_US_help/qpipoptmat.html delete mode 100644 help/en_US/scilab_en_US_help/scilab_code.css delete mode 100644 help/en_US/scilab_en_US_help/section_0317555ae11e0354d453ec57ef8c1f09.html delete mode 100644 help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html delete mode 100644 help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html~ delete mode 100644 help/en_US/scilab_en_US_help/section_508f0b211d17ea6769714cc144e6b731.html delete mode 100644 help/en_US/scilab_en_US_help/section_55504497b369d5dbff95caa93ffab1ff.html delete mode 100644 help/en_US/scilab_en_US_help/section_b483a09ee4bfb41798b9f2cf5a640a9c.html delete mode 100644 help/en_US/scilab_en_US_help/section_bee7f332db33892256e9f1f82b7d348f.html delete mode 100644 help/en_US/scilab_en_US_help/setOptions.html delete mode 100644 help/en_US/scilab_en_US_help/style.css delete mode 100644 help/en_US/scilab_en_US_help/sym_addConstr.html delete mode 100644 help/en_US/scilab_en_US_help/sym_addVar.html delete mode 100644 help/en_US/scilab_en_US_help/sym_close.html delete mode 100644 help/en_US/scilab_en_US_help/sym_deleteConstrs.html delete mode 100644 help/en_US/scilab_en_US_help/sym_deleteVars.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getConstrActivity.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getConstrLower.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getConstrRange.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getConstrSense.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getConstrUpper.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getDblParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getInfinity.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getIntParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getIterCount.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getMatrix.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getNumConstr.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getNumElements.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getNumVar.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getObjCoeff.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getObjSense.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getObjVal.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getPrimalBound.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getRhs.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getStatus.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getStrParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getVarLower.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getVarSoln.html delete mode 100644 help/en_US/scilab_en_US_help/sym_getVarUpper.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isAbandoned.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isBinary.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isContinuous.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isEnvActive.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isInfeasible.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isInteger.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isIterLimitReached.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isOptimal.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isTargetGapAchieved.html delete mode 100644 help/en_US/scilab_en_US_help/sym_isTimeLimitReached.html delete mode 100644 help/en_US/scilab_en_US_help/sym_loadMPS.html delete mode 100644 help/en_US/scilab_en_US_help/sym_loadProblem.html delete mode 100644 help/en_US/scilab_en_US_help/sym_loadProblemBasic.html delete mode 100644 help/en_US/scilab_en_US_help/sym_open.html delete mode 100644 help/en_US/scilab_en_US_help/sym_resetParams.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setConstrLower.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setConstrType.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setConstrUpper.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setContinuous.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setDblParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setIntParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setInteger.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setObjCoeff.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setObjSense.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setPrimalBound.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setStrParam.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setVarLower.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setVarSoln.html delete mode 100644 help/en_US/scilab_en_US_help/sym_setVarUpper.html delete mode 100644 help/en_US/scilab_en_US_help/sym_solve.html delete mode 100644 help/en_US/scilab_en_US_help/symphony.html delete mode 100644 help/en_US/scilab_en_US_help/symphony_call.html delete mode 100644 help/en_US/scilab_en_US_help/symphony_mat.html delete mode 100644 help/en_US/scilab_en_US_help/symphony_mat.html~ delete mode 100644 help/en_US/scilab_en_US_help/symphonymat.html delete mode 100644 help/en_US/scilab_en_US_help/xml_code.css delete mode 100644 jar/README.rst delete mode 100644 jar/scilab_en_US_help.jar delete mode 100644 loader.sce delete mode 100644 macros/Checkdims.bin delete mode 100644 macros/Checklhs.bin delete mode 100644 macros/Checkrhs.bin delete mode 100644 macros/Checktype.bin delete mode 100644 macros/Checkvector.bin create mode 100644 macros/cleanmacros.sce delete mode 100644 macros/fgoalattain.bin delete mode 100644 macros/fminbnd.bin delete mode 100644 macros/fmincon.bin delete mode 100644 macros/fminimax.bin delete mode 100644 macros/fminunc.bin delete mode 100644 macros/lib delete mode 100644 macros/linprog.bin delete mode 100644 macros/lsqlin.bin delete mode 100644 macros/lsqnonneg.bin delete mode 100644 macros/matrix_linprog.bin delete mode 100644 macros/mps_linprog.bin delete mode 100644 macros/names delete mode 100644 macros/qpipopt.bin delete mode 100644 macros/qpipoptmat.bin delete mode 100644 macros/setOptions.bin delete mode 100644 macros/symphony.bin delete mode 100644 macros/symphony_call.bin delete mode 100644 macros/symphonymat.bin delete mode 100644 sci_gateway/cpp/libFAMOS.c delete mode 100755 sci_gateway/cpp/libFAMOS.so delete mode 100644 sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.c delete mode 100755 sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.so delete mode 100644 sci_gateway/cpp/loader.sce delete mode 100644 sci_gateway/loader_gateway.sce delete mode 100644 unloader.sce diff --git a/help/cleaner_help.sce b/help/cleaner_help.sce new file mode 100644 index 0000000..a2b5e7e --- /dev/null +++ b/help/cleaner_help.sce @@ -0,0 +1,21 @@ +// This file is released under the 3-clause BSD license. See COPYING-BSD. + +function cleaner_help() + path = get_absolute_file_path("cleaner_help.sce"); + langdirs = dir(path); + langdirs = langdirs.name(langdirs.isdir); + + for l = 1:size(langdirs, "*") + masterfile = fullpath(path + filesep() + langdirs(l) + "/master_help.xml"); + mdelete(masterfile); + + jarfile = fullpath(path + "/../jar/scilab_" + langdirs(l) + "_help.jar"); + mdelete(jarfile); + + tmphtmldir = fullpath(path + "/" + langdirs(l) + "/scilab_" + langdirs(l) + "_help"); + rmdir(tmphtmldir, "s"); + end +endfunction + +cleaner_help(); +clear cleaner_help; diff --git a/help/en_US/master_help.xml b/help/en_US/master_help.xml deleted file mode 100644 index 73ec952..0000000 --- a/help/en_US/master_help.xml +++ /dev/null @@ -1,164 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - FOSSEE Optimization Toolbox - - - -FOSSEE Optimization Toolbox -&a745e19a6383796e6f5680cdcc44cfcce; -&a2b24cb19de46f878f11e6be9eb411170; -&a52664d077cac340a0384efe1ac107088; -&a0184dce5b9269d9795f0858d46c1c6f0; -&a14f1077f437dbe35eb1cac51fed7a9fc; -&aa809ed678033fc05c9b60a71de55b2ce; -&a3d4ec65684b561d91f7a255acd23f51c; -&aa4a031935f5eed6cfc8fc4a49823b00b; -&a6b85f6e0c98751f20b68663a23cb4cd2; -&a8549a3935858ed104f4749ca2243456a; -&aca972f273143ecb39f56b42e4723ac67; -&a9910ada35b57b0581e8a77d145abac4a; - -Symphony Native Functions -&acc223314e8a8bc290a13618df33a6237; -&a5e032b3334f53385f0ce250f0d5c18f2; -&a11ac5af5f92741f96e56398fe6113c1a; -&a54f913b8b4e581654c3f9d37a7f0353a; -&aa30f7f7c36bd510b4f02727f52f4a3ce; -&a1f3452caf3162b6385df305f81346e5b; -&a3b149fd278245d4b3a24e4517225c98b; -&a6e5609fb4e5eebcf24b457f44e0fdae3; -&aa893b53c826a7def860105c158f070f8; -&a06bad82642d672e569c4b95454548dc4; -&aa5d59eb05be10280b50c527e88194603; -&a65cdfe78fc72edc8c5a47ad2bfe65892; -&a26a6886e109925cf0cc77c6cc7cc5bbb; -&aecee265206afdf2b5baf3e6f0ce05b2a; -&a559f913f0e9f21d38c9c27a33a9953ae; -&a3e540ecd4a9a3e666b31579fa5662aba; -&adb9eed3182459e3dce170977880cc253; -&a6ce3ca192828a09725815663579482db; -&a338f3184d5c61f0f7de92b171be041d1; -&af15d4928d3cbab7d87e64eb2b52a1496; -&a5cacaf92073795f5fd6c7cb6084c4015; -&a2aee40916b0f8c5631a8808aaf9da74e; -&a89689c9684bb1222009a56e0ee157ad4; -&a7fea9b7273bacb6e59272590a9ef8690; -&a14f8d21effef06b5b04029cc11d54b55; -&a46ee22cafdff1a8bcf08c9fd522ab5b8; -&aca3cb89179616e3be06b228b87f32ddb; -&ad6f09bc2a57af9aa5a557497c6bddbc3; -&a7cf13c8ec3cbc1862da713ab233e0f2a; -&a6a1928ddadf9dbd1f71b463c55ae9a7c; -&a8db20054b5db402260af3fc2bbcbbc02; -&aa495e78c64e2a62b8cfceb6d3e0dd306; -&a8b17974e4691a1119aa9189d5d21af50; -&abf0fa3e575e638636e94ae387f7f4465; -&a68289eac582fd1515c510bd447640fea; -&a3e4b8cb708b6af8648f58c658c54a466; -&a0c555f679ba4b9b3f0c128fba8c97784; -&a149fad015c8f9764fb817f2f32b6433a; -&a58e4ad13d7f92aa2106f346e6f667cef; -&a6d3922ed2f332c444391d0b3bfe149a5; -&ac0309772a676ae0f19c4906587629055; -&af1c8a28c8b6a57e72bfadc71f30e391b; -&a6c72196376a25e3ad51c8918e6ac00be; -&a9c990f2279c1b39e9ff9161319700972; -&a8e7ffd33fb83a6c6438da917911f5378; -&ae35adb60ff83c89fc44b30fda7c87af4; -&a10ea3c81046dff7b2c8ae794f470c7b9; -&af90e3534d92ac40286440b627aee484b; -&a5fa728194634dbc83868f69db2dcb00b; -&ac00d47c17e27b147886626cb5a5b9b21; -&a495915b72119ba0fbfa1a3574c89a579; -&af551a253e20452196acaf8e4f8097d1e; -&a69dcdf35892e94bf931551457037cf7c; -&a1bf9d00f2bdb2ccf20bb88fd425ae817; -&af2559ac6a3ee305a9d34197886b7d9f1; -&a69ab58762cd50faa3908e15b52605000; -&a33e3ef3ff532c54b58f3ed5c2c0b3154; -&ad6943c0d89d69c96ade13f4b338e5ed8; - - - diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS b/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS deleted file mode 100644 index b948b9f..0000000 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS and /dev/null 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 deleted file mode 100644 index 9642809..0000000 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/DOCS.TAB +++ /dev/null @@ -1,3 +0,0 @@ -eџџџџџџџџџџџџџџuџџџџџџџџџџџџџџџџџџџџџџuџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџо_џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџ§—џн]џuџї_§з§зџџџџџї<—ѕЭ'џџџџџџџѓ џџџџџџџџџџ§—нл_џџџ<ŸџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџeџџџџџџџџџџџќpGџџџѓ џџнџџџџџї_џeџнЦХI4ŸџџџџџџџџџџџџџџџџџџџЮ-}—џџџйM'oSХIџџџџџџџџџЦD@,)h)E†FЦ№Ф, œ8 -‘p Ц!|- Т@а'JQРр.(7№Њ и* RЎkHlPpd@Ш$‡Б#GФŽ(С Ш"<5/‚ГаŒ7 `Ф$ Ад€”dT2 ВХЁPР%Ъ4ƒЈU2‚aи\bЁŸцZ№Ш( –FV^њЈвXтУЊ—џЮ%зиТеЉ?™6RЊ ŽГ‰џe<“\Њ^jЅdьHн†ёAŸh]heб…Х.мZЭ‰Љ†Њ†’0Е†хЗ— Т–—œвošъДЃЊ˜Тj<Њ…|dТ(_(зёFFF(э,Hм`ШX1Т(t1 |PГ -4dJ0`Tc0Јwr…"Ѓ*ЊЊЁ‘dИhSe‹0Г’Ы8Пџќ`XГ†lP`RтЯ—ВЯVVL`\МжЊЊЅ,Э•‹ѓ*‹џќТѓ џѓrџЯ,ЪЫ4ПџџџЭ,пџџі/ќз_џџџemџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџі_џџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџџі]‹ќЪЈПѓ(МЪъЂџџЭ/2/џ0ГKџџќкЊЊЊЊЉжЈПџ2‹џџ2Њ‹ѓ 0Г"ќТџџќШПџќЪ,ЪЊЊЊЊЊЊЈГ(Пџѓ џЬИПџџџЬ‹џџџџџџџџџџџџџ` \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS b/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS deleted file mode 100644 index ee68e51..0000000 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/OFFSETS and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS b/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS deleted file mode 100644 index 0bf9a64..0000000 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/POSITIONS and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA b/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA deleted file mode 100644 index 86fa674..0000000 --- a/help/en_US/scilab_en_US_help/JavaHelpSearch/SCHEMA +++ /dev/null @@ -1,2 +0,0 @@ -JavaSearch 1.0 -TMAP bs=2048 rt=1 fl=-1 id1=1532 id2=1 diff --git a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP b/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP deleted file mode 100644 index d43293f..0000000 Binary files a/help/en_US/scilab_en_US_help/JavaHelpSearch/TMAP and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabCaution.png b/help/en_US/scilab_en_US_help/ScilabCaution.png deleted file mode 100644 index 8edb56e..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabCaution.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabEdit.png b/help/en_US/scilab_en_US_help/ScilabEdit.png deleted file mode 100644 index e139988..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabEdit.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabExecute.png b/help/en_US/scilab_en_US_help/ScilabExecute.png deleted file mode 100644 index 4acd4b9..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabExecute.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabImportant.png b/help/en_US/scilab_en_US_help/ScilabImportant.png deleted file mode 100644 index 3b51020..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabImportant.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabNote.png b/help/en_US/scilab_en_US_help/ScilabNote.png deleted file mode 100644 index ed46c3e..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabNote.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabTip.png b/help/en_US/scilab_en_US_help/ScilabTip.png deleted file mode 100644 index ed46c3e..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabTip.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/ScilabWarning.png b/help/en_US/scilab_en_US_help/ScilabWarning.png deleted file mode 100644 index 8edb56e..0000000 Binary files a/help/en_US/scilab_en_US_help/ScilabWarning.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fgoalattain.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fgoalattain.xml_1.png deleted file mode 100644 index 7d7a4b6..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fgoalattain.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fminbnd.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fminbnd.xml_1.png deleted file mode 100644 index 2634ce3..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fminbnd.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fmincon.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fmincon.xml_1.png deleted file mode 100644 index 07910ed..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fmincon.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_1.png deleted file mode 100644 index cc11a01..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_2.png b/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_2.png deleted file mode 100644 index 6a9edc4..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fminimax.xml_2.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_fminunc.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_fminunc.xml_1.png deleted file mode 100644 index 5250091..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_fminunc.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_linprog.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_linprog.xml_1.png deleted file mode 100644 index 1dd1d5e..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_linprog.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_lsqlin.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_lsqlin.xml_1.png deleted file mode 100644 index 9015755..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_lsqlin.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_lsqnonneg.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_lsqnonneg.xml_1.png deleted file mode 100644 index 3dd57aa..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_lsqnonneg.xml_1.png and /dev/null 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 deleted file mode 100644 index e2fbbde..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_qpipopt.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_qpipopt_mat.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_qpipopt_mat.xml_1.png deleted file mode 100644 index b6e2743..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_qpipopt_mat.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_qpipoptmat.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_qpipoptmat.xml_1.png deleted file mode 100644 index 3846115..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_qpipoptmat.xml_1.png and /dev/null 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 deleted file mode 100644 index 9155e8f..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_symphony.xml_1.png and /dev/null 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 deleted file mode 100644 index 07dafd6..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_symphony_mat.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/_LaTeX_symphonymat.xml_1.png b/help/en_US/scilab_en_US_help/_LaTeX_symphonymat.xml_1.png deleted file mode 100644 index 9c2039f..0000000 Binary files a/help/en_US/scilab_en_US_help/_LaTeX_symphonymat.xml_1.png and /dev/null differ diff --git a/help/en_US/scilab_en_US_help/c_code.css b/help/en_US/scilab_en_US_help/c_code.css deleted file mode 100644 index 948d2ee..0000000 --- a/help/en_US/scilab_en_US_help/c_code.css +++ /dev/null @@ -1,54 +0,0 @@ -.ccomment { - font-style: italic; - color: #b22222 -} - -.cdefault { - font-style: normal; - color: #000000 -} - -.copenclose { - font-style: normal; - color: #000000 -} - -.coperator { - font-style: normal; - color: #000000 -} - -.cstring { - font-style: normal; - color: #a6557a -} - -.ctype { - font-style: normal; - color: #55a655 -} - -.cpreprocessor { - font-style: normal; - color: #9965a6 -} - -.cid { - font-style: normal; - color: #000000 -} - -.ckeyword { - font-style: normal; - color: #ad3ff2 -} - -.cmodifier { - font-style: normal; - color: #ad3ff2 -} - -.cnumber { - font-style: normal; - color: #008b8b -} diff --git a/help/en_US/scilab_en_US_help/fgoalattain.html b/help/en_US/scilab_en_US_help/fgoalattain.html deleted file mode 100644 index 2981e47..0000000 --- a/help/en_US/scilab_en_US_help/fgoalattain.html +++ /dev/null @@ -1,187 +0,0 @@ - - - fgoalattain - - - -
- - - - -
- << FOSSEE Optimization Toolbox - - - FOSSEE Optimization Toolbox - - - fminbnd >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > fgoalattain - -

-

fgoalattain

-

Solves a multiobjective goal attainment problem

- - -

Calling Sequence

-
xopt = fgoalattain(fun,x0,goal,weight)
-xopt = fgoalattain(fun,x0,goal,weight,A,b)
-xopt = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq)
-xopt = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub)
-xopt = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon)
-xopt = fgoalattain(fun,x0,goal,weight,A,b,Aeq,beq,lb,ub,nonlcon,options)
-[xopt,fval] = fgoalattain(...)
-[xopt,fval,attainfactor] = fgoalattain(...)
-[xopt,fval,attainfactor,exitflag] = fgoalattain(...)
-[xopt,fval,attainfactor,exitflag,output] = fgoalattain(...)
-[xopt,fval,attainfactor,exitflag,output,lambda] = fgoalattain(...)
- -

Parameters

-
fun: -

a function that accepts a vector x and returns a vector F

-
x0 : -

a vector of double, contains initial guess of variables.

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

a vector of double, contains lower bounds of the variables.

-
ub : -

a vector of double, contains upper bounds of the variables.

-
nonlcon: -

a function, the nonlinear constraints

-
options : -

a list, containing the option for user to specify. See below for details.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
attainfactor: -

The amount of over- or underachievement of the goals,ЮГ at the solution.

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

fgoalattain solves the goal attainment problem, which is one formulation for minimizing a multiobjective optimization problem. -Finds the minimum of a problem specified by: -Minimise Y such that

-

-

The solver makes use of fmincon to find the minimum.

-

The fgoalattain finds out the maximum value of Y for the objectives evaluated at the starting point and -adds that as another variable to the vector x -This is passed to the fmincon function to get the optimised value of Y -Hence, the algorithm used mainly is "ipopt" to obtain the optimum solution -The relations between f(x), Y, weights and goals are added as additional non-linear inequality constraints

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

By default, the gradient options for fminimax are turned off and and fmincon does the gradient opproximation of gattainObjfun. In case the GradObj option is off and GradConstr option is on, fminimax approximates gattainObjfun gradient using numderivative toolbox.

-

If we can provide exact gradients, we should do so since it improves the convergence speed of the optimization algorithm.

-

Furthermore, we must enable the "GradObj" option with the statement : -

minimaxOptions = list("GradObj",fGrad);
-This will let fminimax know that the exact gradient of the objective function is known, so that it can change the calling sequence to the objective function. Note that, fGrad should be mentioned in the form of N x n where n is the number of variables, N is the number of functions in objective function.

-

The constraint function must have header : -

[c, ceq] = confun(x)
-where x is a n x 1 matrix of doubles, c is a 1 x nni matrix of doubles and ceq is a 1 x nne matrix of doubles (nni : number of nonlinear inequality constraints, nne : number of nonlinear equality constraints). -On input, the variable x contains the current point and, on output, the variable c must contain the nonlinear inequality constraints and ceq must contain the nonlinear equality constraints.

-

By default, the gradient options for fminimax are turned off and and fmincon does the gradient opproximation of confun. In case the GradObj option is on and GradCons option is off, fminimax approximates confun gradient using numderivative toolbox.

-

If we can provide exact gradients, we should do so since it improves the convergence speed of the optimization algorithm.

-

Furthermore, we must enable the "GradCon" option with the statement : -

minimaxOptions = list("GradCon",confunGrad);
-This will let fminimax know that the exact gradient of the objective function is known, so that it can change the calling sequence to the objective function.

-

The constraint derivative function must have header : -

[dc,dceq] = confungrad(x)
-where dc is a nni x n matrix of doubles and dceq is a nne x n matrix of doubles.

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
function f1=gattainObjfun(x)
-f1(1)=2*x(1)*x(1)+x(2)*x(2)-48*x(1)-40*x(2)+304
-f1(2)=-x(1)*x(1)-3*x(2)*x(2)
-f1(3)=x(1)+3*x(2)-18
-f1(4)=-x(1)-x(2)
-f1(5)=x(1)+x(2)-8
-endfunction
-x0=[-1,1];
-goal=[-5,-3,-2,-1,-4];
-weight=abs(goal)
-//gval  =[- 0.0000011 -63.999998 -2.0000002 -8 3.485D-08]
-//z  = [4 3.99]
-//Run fgoalattain
-[x,fval,attainfactor,exitflag,output,lambda]=fgoalattain(gattainObjfun,x0,goal,weight)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << FOSSEE Optimization Toolbox - - - FOSSEE Optimization Toolbox - - - fminbnd >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fminbnd.html b/help/en_US/scilab_en_US_help/fminbnd.html deleted file mode 100644 index 46755f8..0000000 --- a/help/en_US/scilab_en_US_help/fminbnd.html +++ /dev/null @@ -1,176 +0,0 @@ - - - fminbnd - - - -
- - - - -
- << fgoalattain - - - FOSSEE Optimization Toolbox - - - fmincon >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > fminbnd - -

-

fminbnd

-

Solves a multi-variable optimization problem on a bounded interval

- - -

Calling Sequence

-
xopt = fminbnd(f,x1,x2)
-xopt = fminbnd(f,x1,x2,options)
-[xopt,fopt] = fminbnd(.....)
-[xopt,fopt,exitflag]= fminbnd(.....)
-[xopt,fopt,exitflag,output]=fminbnd(.....)
-[xopt,fopt,exitflag,output,lambda]=fminbnd(.....)
- -

Parameters

-
f : -

a function, representing the objective function of the problem

-
x1 : -

a vector, containing the lower bound of the variables of size (1 X n) or (n X 1) where 'n' is the number of Variables, where n is number of Variables

-
x2 : -

a vector, containing the upper bound of the variables of size (1 X n) or (n X 1) or (0 X 0) where 'n' is the number of Variables. If x2 is empty it means upper bound is +infinity

-
options : -

a list, containing the option for user to specify. See below for details.

-
xopt : -

a vector of doubles, containing the the computed solution of the optimization problem.

-
fopt : -

a scalar of double, containing the the function value at x.

-
exitflag : -

a scalar of integer, containing the flag which denotes the reason for termination of algorithm. See below for details.

-
output : -

a structure, containing the information about the optimization. See below for details.

-
lambda : -

a structure, containing the Lagrange multipliers of lower bound and upper bound at the optimized point. See below for details.

- -

Description

-

Search the minimum of a multi-variable function on bounded interval specified by : -Find the minimum of f(x) such that

-

-

The routine calls Ipopt for solving the Bounded Optimization problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Find x in R^6 such that it minimizes:
-//f(x)= sin(x1) + sin(x2) + sin(x3) + sin(x4) + sin(x5) + sin(x6)
-//-2 <= x1,x2,x3,x4,x5,x6 <= 2
-//Objective function to be minimised
-function y=f(x)
-y=0
-for i =1:6
-y=y+sin(x(i));
-end
-endfunction
-//Variable bounds
-x1 = [-2, -2, -2, -2, -2, -2];
-x2 = [2, 2, 2, 2, 2, 2];
-//Options
-options=list("MaxIter",[1500],"CpuTime", [100],"TolX",[1e-6])
-//Calling Ipopt
-[x,fval] =fminbnd(f, x1, x2, options)
-// Press ENTER to continue
- -

Examples

-
//Find x in R such that it minimizes:
-//f(x)= 1/x^2
-//0 <= x <= 1000
-//Objective function to be minimised
-function y=f(x)
-y=1/x^2
-endfunction
-//Variable bounds
-x1 = [0];
-x2 = [1000];
-//Calling Ipopt
-[x,fval,exitflag,output,lambda] =fminbnd(f, x1, x2)
-// Press ENTER to continue
- -

Examples

-
//The below problem is an unbounded problem:
-//Find x in R^2 such that it minimizes:
-//f(x)= -[(x1-1)^2 + (x2-1)^2]
-//-inf <= x1,x2 <= inf
-//Objective function to be minimised
-function y=f(x)
-y=-((x(1)-1)^2+(x(2)-1)^2);
-endfunction
-//Variable bounds
-x1 = [-%inf , -%inf];
-x2 = [];
-//Options
-options=list("MaxIter",[1500],"CpuTime", [100],"TolX",[1e-6])
-//Calling Ipopt
-[x,fval,exitflag,output,lambda] =fminbnd(f, x1, x2, options)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fgoalattain - - - FOSSEE Optimization Toolbox - - - fmincon >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fmincon.html b/help/en_US/scilab_en_US_help/fmincon.html deleted file mode 100644 index ea3077f..0000000 --- a/help/en_US/scilab_en_US_help/fmincon.html +++ /dev/null @@ -1,305 +0,0 @@ - - - fmincon - - - -
- - - - -
- << fminbnd - - - FOSSEE Optimization Toolbox - - - fminimax >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > fmincon - -

-

fmincon

-

Solves a multi-variable constrainted optimization problem

- - -

Calling Sequence

-
xopt = fmincon(f,x0,A,b)
-xopt = fmincon(f,x0,A,b,Aeq,beq)
-xopt = fmincon(f,x0,A,b,Aeq,beq,lb,ub)
-xopt = fmincon(f,x0,A,b,Aeq,beq,lb,ub,nlc)
-xopt = fmincon(f,x0,A,b,Aeq,beq,lb,ub,nlc,options)
-[xopt,fopt] = fmincon(.....)
-[xopt,fopt,exitflag]= fmincon(.....)
-[xopt,fopt,exitflag,output]= fmincon(.....)
-[xopt,fopt,exitflag,output,lambda]=fmincon(.....)
-[xopt,fopt,exitflag,output,lambda,gradient]=fmincon(.....)
-[xopt,fopt,exitflag,output,lambda,gradient,hessian]=fmincon(.....)
- -

Parameters

-
f : -

a function, representing the objective function of the problem

-
x0 : -

a vector of doubles, containing the starting values of variables of size (1 X n) or (n X 1) where 'n' is the number of Variables

-
A : -

a matrix of doubles, containing the coefficients of linear inequality constraints of size (m X n) where 'm' is the number of linear inequality constraints

-
b : -

a vector of doubles, related to 'A' and containing the the Right hand side equation of the linear inequality constraints of size (m X 1)

-
Aeq : -

a matrix of doubles, containing the coefficients of linear equality constraints of size (m1 X n) where 'm1' is the number of linear equality constraints

-
beq : -

a vector of doubles, related to 'Aeq' and containing the the Right hand side equation of the linear equality constraints of size (m1 X 1)

-
lb : -

a vector of doubles, containing the lower bounds of the variables of size (1 X n) or (n X 1) where 'n' is the number of Variables

-
ub : -

a vector of doubles, containing the upper bounds of the variables of size (1 X n) or (n X 1) where 'n' is the number of Variables

-
nlc : -

a function, representing the Non-linear Constraints functions(both Equality and Inequality) of the problem. It is declared in such a way that non-linear inequality constraints are defined first as a single row vector (c), followed by non-linear equality constraints as another single row vector (ceq). Refer Example for definition of Constraint function.

-
options : -

a list, containing the option for user to specify. See below for details.

-
xopt : -

a vector of doubles, cointating the computed solution of the optimization problem

-
fopt : -

a scalar of double, containing the the function value at x

-
exitflag : -

a scalar of integer, containing the flag which denotes the reason for termination of algorithm. See below for details.

-
output : -

a structure, containing the information about the optimization. See below for details.

-
lambda : -

a structure, containing the Lagrange multipliers of lower bound, upper bound and constraints at the optimized point. See below for details.

-
gradient : -

a vector of doubles, containing the Objective's gradient of the solution.

-
hessian : -

a matrix of doubles, containing the Lagrangian's hessian of the solution.

- -

Description

-

Search the minimum of a constrained optimization problem specified by : -Find the minimum of f(x) such that

-

-

The routine calls Ipopt for solving the Constrained Optimization problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Find x in R^2 such that it minimizes:
-//f(x)= -x1 -x2/3
-//x0=[0,0]
-//constraint-1 (c1): x1 + x2 <= 2
-//constraint-2 (c2): x1 + x2/4 <= 1
-//constraint-3 (c3): x1 - x2 <= 2
-//constraint-4 (c4): -x1/4 - x2 <= 1
-//constraint-5 (c5): -x1 - x2 <= -1
-//constraint-6 (c6): -x1 + x2 <= 2
-//constraint-7 (c7): x1 + x2 = 2
-//Objective function to be minimised
-function y=f(x)
-y=-x(1)-x(2)/3;
-endfunction
-//Starting point, linear constraints and variable bounds
-x0=[0 , 0];
-A=[1,1 ; 1,1/4 ; 1,-1 ; -1/4,-1 ; -1,-1 ; -1,1];
-b=[2;1;2;1;-1;2];
-Aeq=[1,1];
-beq=[2];
-lb=[];
-ub=[];
-nlc=[];
-//Gradient of objective function
-function y=fGrad(x)
-y= [-1,-1/3];
-endfunction
-//Hessian of lagrangian
-function y=lHess(x, obj, lambda)
-y= obj*[0,0;0,0]
-endfunction
-//Options
-options=list("GradObj", fGrad, "Hessian", lHess);
-//Calling Ipopt
-[x,fval,exitflag,output,lambda,grad,hessian] =fmincon(f, x0,A,b,Aeq,beq,lb,ub,nlc,options)
-// Press ENTER to continue
- -

Examples

-
//Find x in R^3 such that it minimizes:
-//f(x)= x1*x2 + x2*x3
-//x0=[0.1 , 0.1 , 0.1]
-//constraint-1 (c1): x1^2 - x2^2 + x3^2 <= 2
-//constraint-2 (c2): x1^2 + x2^2 + x3^2 <= 10
-//Objective function to be minimised
-function y=f(x)
-y=x(1)*x(2)+x(2)*x(3);
-endfunction
-//Starting point, linear constraints and variable bounds
-x0=[0.1 , 0.1 , 0.1];
-A=[];
-b=[];
-Aeq=[];
-beq=[];
-lb=[];
-ub=[];
-//Nonlinear constraints
-function [c, ceq]=nlc(x)
-c = [x(1)^2 - x(2)^2 + x(3)^2 - 2 , x(1)^2 + x(2)^2 + x(3)^2 - 10];
-ceq = [];
-endfunction
-//Gradient of objective function
-function y=fGrad(x)
-y= [x(2),x(1)+x(3),x(2)];
-endfunction
-//Hessian of the Lagrange Function
-function y=lHess(x, obj, lambda)
-y= obj*[0,1,0;1,0,1;0,1,0] + lambda(1)*[2,0,0;0,-2,0;0,0,2] + lambda(2)*[2,0,0;0,2,0;0,0,2]
-endfunction
-//Gradient of Non-Linear Constraints
-function [cg, ceqg]=cGrad(x)
-cg=[2*x(1) , -2*x(2) , 2*x(3) ; 2*x(1) , 2*x(2) , 2*x(3)];
-ceqg=[];
-endfunction
-//Options
-options=list("MaxIter", [1500], "CpuTime", [500], "GradObj", fGrad, "Hessian", lHess,"GradCon", cGrad);
-//Calling Ipopt
-[x,fval,exitflag,output] =fmincon(f, x0,A,b,Aeq,beq,lb,ub,nlc,options)
-// Press ENTER to continue
- -

Examples

-
//The below problem is an unbounded problem:
-//Find x in R^3 such that it minimizes:
-//f(x)= -(x1^2 + x2^2 + x3^2)
-//x0=[0.1 , 0.1 , 0.1]
-//  x1 <= 0
-//  x2 <= 0
-//  x3 <= 0
-//Objective function to be minimised
-function y=f(x)
-y=-(x(1)^2+x(2)^2+x(3)^2);
-endfunction
-//Starting point, linear constraints and variable bounds
-x0=[0.1 , 0.1 , 0.1];
-A=[];
-b=[];
-Aeq=[];
-beq=[];
-lb=[];
-ub=[0,0,0];
-//Options
-options=list("MaxIter", [1500], "CpuTime", [500]);
-//Calling Ipopt
-[x,fval,exitflag,output,lambda,grad,hessian] =fmincon(f, x0,A,b,Aeq,beq,lb,ub,[],options)
-// Press ENTER to continue
- -

Examples

-
//The below problem is an infeasible problem:
-//Find x in R^3 such that in minimizes:
-//f(x)=x1*x2 + x2*x3
-//x0=[1,1,1]
-//constraint-1 (c1): x1^2 <= 1
-//constraint-2 (c2): x1^2 + x2^2 <= 1
-//constraint-3 (c3): x3^2 <= 1
-//constraint-4 (c4): x1^3 = 0.5
-//constraint-5 (c5): x2^2 + x3^2 = 0.75
-// 0 <= x1 <=0.6
-// 0.2 <= x2 <= inf
-// -inf <= x3 <= 1
-//Objective function to be minimised
-function y=f(x)
-y=x(1)*x(2)+x(2)*x(3);
-endfunction
-//Starting point, linear constraints and variable bounds
-x0=[1,1,1];
-A=[];
-b=[];
-Aeq=[];
-beq=[];
-lb=[0 0.2,-%inf];
-ub=[0.6 %inf,1];
-//Nonlinear constraints
-function [c, ceq]=nlc(x)
-c=[x(1)^2-1,x(1)^2+x(2)^2-1,x(3)^2-1];
-ceq=[x(1)^3-0.5,x(2)^2+x(3)^2-0.75];
-endfunction
-//Gradient of objective function
-function y=fGrad(x)
-y= [x(2),x(1)+x(3),x(2)];
-endfunction
-//Hessian of the Lagrange Function
-function y=lHess(x, obj, lambda)
-y= obj*[0,1,0;1,0,1;0,1,0] + lambda(1)*[2,0,0;0,0,0;0,0,0] + lambda(2)*[2,0,0;0,2,0;0,0,0] +lambda(3)*[0,0,0;0,0,0;0,0,2] + lambda(4)*[6*x(1    ),0,0;0,0,0;0,0,0] + lambda(5)*[0,0,0;0,2,0;0,0,2];
-endfunction
-//Gradient of Non-Linear Constraints
-function [cg, ceqg]=cGrad(x)
-cg = [2*x(1),0,0;2*x(1),2*x(2),0;0,0,2*x(3)];
-ceqg = [3*x(1)^2,0,0;0,2*x(2),2*x(3)];
-endfunction
-//Options
-options=list("MaxIter", [1500], "CpuTime", [500], "GradObj", fGrad, "Hessian", lHess,"GradCon", cGrad);
-//Calling Ipopt
-[x,fval,exitflag,output,lambda,grad,hessian] =fmincon(f, x0,A,b,Aeq,beq,lb,ub,nlc,options)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fminbnd - - - FOSSEE Optimization Toolbox - - - fminimax >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fminimax.html b/help/en_US/scilab_en_US_help/fminimax.html deleted file mode 100644 index a701aa7..0000000 --- a/help/en_US/scilab_en_US_help/fminimax.html +++ /dev/null @@ -1,237 +0,0 @@ - - - fminimax - - - -
- - - - -
- << fmincon - - - FOSSEE Optimization Toolbox - - - fminunc >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > fminimax - -

-

fminimax

-

Solves minimax constraint problem

- - -

Calling Sequence

-
xopt = fminimax(fun,x0)
-xopt = fminimax(fun,x0,A,b)
-xopt = fminimax(fun,x0,A,b,Aeq,beq)
-xopt = fminimax(fun,x0,A,b,Aeq,beq,lb,ub)
-xopt = fminimax(fun,x0,A,b,Aeq,beq,lb,ub,nonlinfun)
-xopt = fminimax(fun,x0,A,b,Aeq,beq,lb,ub,nonlinfun,options)
-[xopt, fval] = fmincon(.....)
-[xopt, fval, maxfval]= fmincon(.....)
-[xopt, fval, maxfval, exitflag]= fmincon(.....)
-[xopt, fval, maxfval, exitflag, output]= fmincon(.....)
-[xopt, fval, maxfval, exitflag, output, lambda]= fmincon(.....)
- -

Parameters

-
fun: -

The function to be minimized. fun is a function that accepts a vector x and returns a vector F, the objective functions evaluated at x.

-
x0 : -

a vector of double, contains initial guess of variables.

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

a vector of double, contains lower bounds of the variables.

-
ub : -

a vector of double, contains upper bounds of the variables.

-
nonlinfun: -

function that computes the nonlinear inequality constraints cт‹…x т‰Є 0 and nonlinear equality constraints cт‹…x = 0.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
maxfval: -

a 1x1 matrix of doubles, the maximum value in vector fval

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

fminimax minimizes the worst-case (largest) value of a set of multivariable functions, starting at an initial estimate. This is generally referred to as the minimax problem.

-

-

Currently, fminimax calls fmincon which uses the ip-opt algorithm.

-

max-min problems can also be solved with fminimax, using the identity

-

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The objective function must have header : -

F = fun(x)
-where x is a n x 1 matrix of doubles and F is a m x 1 matrix of doubles where m is the total number of objective functions inside F. -On input, the variable x contains the current point and, on output, the variable F must contain the objective function values.

-

By default, the gradient options for fminimax are turned off and and fmincon does the gradient opproximation of minmaxObjfun. In case the GradObj option is off and GradConstr option is on, fminimax approximates minmaxObjfun gradient using numderivative toolbox.

-

If we can provide exact gradients, we should do so since it improves the convergence speed of the optimization algorithm.

-

Furthermore, we must enable the "GradObj" option with the statement : -

minimaxOptions = list("GradObj",fGrad);
-This will let fminimax know that the exact gradient of the objective function is known, so that it can change the calling sequence to the objective function. Note that, fGrad should be mentioned in the form of N x n where n is the number of variables, N is the number of functions in objective function.

-

The constraint function must have header : -

[c, ceq] = confun(x)
-where x is a n x 1 matrix of dominmaxUbles, c is a 1 x nni matrix of doubles and ceq is a 1 x nne matrix of doubles (nni : number of nonlinear inequality constraints, nne : number of nonlinear equality constraints). -On input, the variable x contains the current point and, on output, the variable c must contain the nonlinear inequality constraints and ceq must contain the nonlinear equality constraints.

-

By default, the gradient options for fminimax are turned off and and fmincon does the gradient opproximation of confun. In case the GradObj option is on and GradCons option is off, fminimax approximates confun gradient using numderivative toolbox.

-

If we can provide exact gradients, we should do so since it improves the convergence speed of the optimization algorithm.

-

Furthermore, we must enable the "GradCon" option with the statement : -

minimaxOptions = list("GradCon",confunGrad);
-This will let fminimax know that the exact gradient of the objective function is known, so that it can change the calling sequence to the objective function.

-

The constraint derivative function must have header : -

[dc,dceq] = confungrad(x)
-where dc is a nni x n matrix of doubles and dceq is a nne x n matrix of doubles.

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
// A basic case :
-// we provide only the objective function and the nonlinear constraint
-// function
-function f=myfun(x)
-f(1)= 2*x(1)^2 + x(2)^2 - 48*x(1) - 40*x(2) + 304;     //Objectives
-f(2)= -x(1)^2 - 3*x(2)^2;
-f(3)= x(1) + 3*x(2) -18;
-f(4)= -x(1) - x(2);
-f(5)= x(1) + x(2) - 8;
-endfunction
-// The initial guess
-x0 = [0.1,0.1];
-// The expected solution : only 4 digits are guaranteed
-xopt = [4 4]
-fopt = [0 -64 -2 -8 0]
-maxfopt = 0
-// Run fminimax
-[x,fval,maxfval,exitflag,output,lambda] = fminimax(myfun, x0)
-// Press ENTER to continue
- -

Examples

-
// A case where we provide the gradient of the objective
-// functions and the Jacobian matrix of the constraints.
-// The objective function and its gradient
-function f=myfun(x)
-f(1)= 2*x(1)^2 + x(2)^2 - 48*x(1) - 40*x(2) + 304;
-f(2)= -x(1)^2 - 3*x(2)^2;
-f(3)= x(1) + 3*x(2) -18;
-f(4)= -x(1) - x(2);
-f(5)= x(1) + x(2) - 8;
-endfunction
-// Defining gradient of myfun
-function G=myfungrad(x)
-G = [ 4*x(1) - 48, -2*x(1), 1, -1, 1;
-2*x(2) - 40, -6*x(2), 3, -1, 1; ]'
-endfunction
-// The nonlinear constraints and the Jacobian
-// matrix of the constraints
-function [c, ceq]=confun(x)
-// Inequality constraints
-c = [1.5 + x(1)*x(2) - x(1) - x(2), -x(1)*x(2) - 10]
-// No nonlinear equality constraints
-ceq=[]
-endfunction
-// Defining gradient of confungrad
-function [DC, DCeq]=cgrad(x)
-// DC(:,i) = gradient of the i-th constraint
-// DC = [
-//   Dc1/Dx1  Dc1/Dx2
-//   Dc2/Dx1  Dc2/Dx2
-//   ]
-DC= [
-x(2)-1, -x(2)
-x(1)-1, -x(1)
-]'
-DCeq = []'
-endfunction
-// Test with both gradient of objective and gradient of constraints
-minimaxOptions = list("GradObj",myfungrad,"GradCon",cgrad);
-// The initial guess
-x0 = [0,10];
-// The expected solution : only 4 digits are guaranteed
-xopt = [0.92791 7.93551]
-fopt = [6.73443  -189.778  6.73443  -8.86342  0.86342]
-maxfopt = 6.73443
-// Run fminimax
-[x,fval,maxfval,exitflag,output] = fminimax(myfun,x0,[],[],[],[],[],[], confun, minimaxOptions)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fmincon - - - FOSSEE Optimization Toolbox - - - fminunc >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/fminunc.html b/help/en_US/scilab_en_US_help/fminunc.html deleted file mode 100644 index 636ea68..0000000 --- a/help/en_US/scilab_en_US_help/fminunc.html +++ /dev/null @@ -1,180 +0,0 @@ - - - fminunc - - - -
- - - - -
- << fminimax - - - FOSSEE Optimization Toolbox - - - linprog >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > fminunc - -

-

fminunc

-

Solves a multi-variable unconstrainted optimization problem

- - -

Calling Sequence

-
xopt = fminunc(f,x0)
-xopt = fminunc(f,x0,options)
-[xopt,fopt] = fminunc(.....)
-[xopt,fopt,exitflag]= fminunc(.....)
-[xopt,fopt,exitflag,output]= fminunc(.....)
-[xopt,fopt,exitflag,output,gradient]=fminunc(.....)
-[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(.....)
- -

Parameters

-
f : -

a function, representing the objective function of the problem

-
x0 : -

a vector of doubles, containing the starting of variables.

-
options: -

a list, containing the option for user to specify. See below for details.

-
xopt : -

a vector of doubles, the computed solution of the optimization problem.

-
fopt : -

a scalar of double, the function value at x.

-
exitflag : -

a scalar of integer, containing the flag which denotes the reason for termination of algorithm. See below for details.

-
output : -

a structure, containing the information about the optimization. See below for details.

-
gradient : -

a vector of doubles, containing the the gradient of the solution.

-
hessian : -

a matrix of doubles, containing the the hessian of the solution.

- -

Description

-

Search the minimum of an unconstrained optimization problem specified by : -Find the minimum of f(x) such that

-

-

The routine calls Ipopt for solving the Un-constrained Optimization problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Find x in R^2 such that it minimizes the Rosenbrock function
-//f = 100*(x2 - x1^2)^2 + (1-x1)^2
-//Objective function to be minimised
-function y=f(x)
-y= 100*(x(2) - x(1)^2)^2 + (1-x(1))^2;
-endfunction
-//Starting point
-x0=[-1,2];
-//Gradient of objective function
-function y=fGrad(x)
-y= [-400*x(1)*x(2) + 400*x(1)^3 + 2*x(1)-2, 200*(x(2)-x(1)^2)];
-endfunction
-//Hessian of Objective Function
-function y=fHess(x)
-y= [1200*x(1)^2- 400*x(2) + 2, -400*x(1);-400*x(1), 200 ];
-endfunction
-//Options
-options=list("MaxIter", [1500], "CpuTime", [500], "Gradient", fGrad, "Hessian", fHess);
-//Calling Ipopt
-[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(f,x0,options)
-// Press ENTER to continue
- -

Examples

-
//Find x in R^2 such that the below function is minimum
-//f = x1^2 + x2^2
-//Objective function to be minimised
-function y=f(x)
-y= x(1)^2 + x(2)^2;
-endfunction
-//Starting point
-x0=[2,1];
-//Calling Ipopt
-[xopt,fopt]=fminunc(f,x0)
-// Press ENTER to continue
- -

Examples

-
//The below problem is an unbounded problem:
-//Find x in R^2 such that the below function is minimum
-//f = - x1^2 - x2^2
-//Objective function to be minimised
-function y=f(x)
-y= -x(1)^2 - x(2)^2;
-endfunction
-//Starting point
-x0=[2,1];
-//Gradient of objective function
-function y=fGrad(x)
-y= [-2*x(1),-2*x(2)];
-endfunction
-//Hessian of Objective Function
-function y=fHess(x)
-y= [-2,0;0,-2];
-endfunction
-//Options
-options=list("MaxIter", [1500], "CpuTime", [500], "Gradient", fGrad, "Hessian", fHess);
-//Calling Ipopt
-[xopt,fopt,exitflag,output,gradient,hessian]=fminunc(f,x0,options)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fminimax - - - FOSSEE Optimization Toolbox - - - linprog >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/index.html b/help/en_US/scilab_en_US_help/index.html deleted file mode 100644 index 7bbe95e..0000000 --- a/help/en_US/scilab_en_US_help/index.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -
- - - - -
- - - - - -
-
-
- - - - -

-

FOSSEE Optimization Toolbox

- -
- -
- - - - - - -
Report an issue
- - - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/index.html~ b/help/en_US/scilab_en_US_help/index.html~ deleted file mode 100644 index e31c03b..0000000 --- a/help/en_US/scilab_en_US_help/index.html~ +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - -
- - - - -
- - - - - -
-
-
- - - - -

-

Symphony

- - - - -
- -
- - - - - - -
Report an issue
- - - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/jhelpidx.xml b/help/en_US/scilab_en_US_help/jhelpidx.xml deleted file mode 100644 index aa5a66e..0000000 --- a/help/en_US/scilab_en_US_help/jhelpidx.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpmap.jhm b/help/en_US/scilab_en_US_help/jhelpmap.jhm deleted file mode 100644 index f46a5e3..0000000 --- a/help/en_US/scilab_en_US_help/jhelpmap.jhm +++ /dev/null @@ -1,77 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelpset.hs b/help/en_US/scilab_en_US_help/jhelpset.hs deleted file mode 100644 index 373577e..0000000 --- a/help/en_US/scilab_en_US_help/jhelpset.hs +++ /dev/null @@ -1,28 +0,0 @@ - - - -FOSSEE Optimization Toolbox - -top - - - -TOC - -javax.help.TOCView -jhelptoc.xml - - -Index - -javax.help.IndexView -jhelpidx.xml - - -Search - -javax.help.SearchView -JavaHelpSearch - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/jhelptoc.xml b/help/en_US/scilab_en_US_help/jhelptoc.xml deleted file mode 100644 index c4d5a12..0000000 --- a/help/en_US/scilab_en_US_help/jhelptoc.xml +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/linprog.html b/help/en_US/scilab_en_US_help/linprog.html deleted file mode 100644 index 157265a..0000000 --- a/help/en_US/scilab_en_US_help/linprog.html +++ /dev/null @@ -1,192 +0,0 @@ - - - linprog - - - -
- - - - -
- << fminunc - - - FOSSEE Optimization Toolbox - - - lsqlin >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > linprog - -

-

linprog

-

Solves a linear programming problem.

- - -

Calling Sequence

-
xopt = linprog(c,A,b)
-xopt = linprog(c,A,b,Aeq,beq)
-xopt = linprog(c,A,b,Aeq,beq,lb,ub)
-xopt = linprog(c,A,b,Aeq,beq,lb,ub,param)
-xopt = linprog(file)
-xopt = linprog(file,param)
-[xopt,fopt,exitflag,output,lambda] = linprog( ... )
- -

Parameters

-
c : -

a vector of double, contains coefficients of the variables in the objective

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

Lower bounds, specified as a vector or array of double. lb represents the lower bounds elementwise in lb т‰Є x т‰Є ub.

-
ub : -

Upper bounds, specified as a vector or array of double. ub represents the upper bounds elementwise in lb т‰Є x т‰Є ub.

-
options : -

a list containing the parameters to be set.

-
file : -

a string describing the path to the mps file.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
status : -

status flag returned from symphony. See below for details.

-
output : -

The output data structure contains detailed information about the optimization process. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

OSI-CLP is used for solving the linear programming problems, OSI-CLP is a library written in C++. -Search the minimum of a constrained linear programming problem specified by :

-

-

The routine calls Clp for solving the linear programming problem, Clp is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. In the current version it only contains maxiter. -

-

The exitflag allows to know the status of the optimization which is given back by CLP. -

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Optimal problems
-//Linear program, linear inequality constraints
-c=[-1,-1/3]'
-A=[1,1;1,1/4;1,-1;-1/4,-1;-1,-1;-1,1]
-b=[2,1,2,1,-1,2]
-[xopt,fopt,exitflag,output,lambda]=linprog(c, A, b)
-// Press ENTER to continue
- -

Examples

-
//Linear program with Linear Inequalities and Equalities`
-c=[-1,-1/3]'
-A=[1,1;1,1/4;1,-1;-1/4,-1;-1,-1;-1,1]
-b=[2,1,2,1,-1,2]
-Aeq=[1,1/4]
-beq=[1/2]
-[xopt,fopt,exitflag,output,lambda]=linprog(c, A, b, Aeq, beq)
-// Press ENTER to continue
- -

Examples

-
//Linear program with all constraint types
-c=[-1,-1/3]'
-A=[1,1;1,1/4;1,-1;-1/4,-1;-1,-1;-1,1]
-b=[2,1,2,1,-1,2]
-Aeq=[1,1/4]
-beq=[1/2]
-lb=[-1,-0.5]
-ub=[1.5,1.25]
-[xopt,fopt,exitflag,output,lambda]=linprog(c, A, b, Aeq, beq, lb, ub)
-// Press ENTER to continue
- -

Examples

-
//Primal Infeasible Problem
-c=[-1,-1,-1]'
-A=[1,2,-1]
-b=[-4]
-Aeq=[1,5,3;1,1,0]
-beq=[10,100]
-lb=[0,0,0]
-ub=[%inf,%inf,%inf]
-[xopt,fopt,exitflag,output,lambda]= linprog(c,A,b,Aeq,beq,lb,ub)
-// Press ENTER to continue
- -

Examples

-
//Dual Infeasible Problem
-c=[3,5,-7]'
-A=[-1,-1,4;1,1,4]
-b=[-8,5]
-Aeq=[]
-beq=[]
-lb=[-%inf,-%inf,-%inf]
-ub=[%inf,%inf,%inf]
-[xopt,fopt,exitflag,output,lambda]= linprog(c,A,b,Aeq,beq,lb,ub)
-// Press ENTER to continue
- -

Examples

-
filepath = get_absolute_file_path('linprog.dem.sce');
-filepath = filepath + "exmip1.mps"
-[xopt,fopt,exitflag,output,lambda] =linprog(filepath)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << fminunc - - - FOSSEE Optimization Toolbox - - - lsqlin >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/lsqlin.html b/help/en_US/scilab_en_US_help/lsqlin.html deleted file mode 100644 index 1343385..0000000 --- a/help/en_US/scilab_en_US_help/lsqlin.html +++ /dev/null @@ -1,175 +0,0 @@ - - - lsqlin - - - -
- - - - -
- << linprog - - - FOSSEE Optimization Toolbox - - - lsqnonneg >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > lsqlin - -

-

lsqlin

-

Solves a linear quadratic problem.

- - -

Calling Sequence

-
xopt = lsqlin(C,d,A,b)
-xopt = lsqlin(C,d,A,b,Aeq,beq)
-xopt = lsqlin(C,d,A,b,Aeq,beq,lb,ub)
-xopt = lsqlin(C,d,A,b,Aeq,beq,lb,ub,x0)
-xopt = lsqlin(C,d,A,b,Aeq,beq,lb,ub,x0,param)
-[xopt,resnorm,residual,exitflag,output,lambda] = lsqlin( ... )
- -

Parameters

-
C : -

a matrix of double, represents the multiplier of the solution x in the expression Cт‹…x - d. Number of columns in C is equal to the number of elements in x.

-
d : -

a vector of double, represents the additive constant term in the expression Cт‹…x - d. Number of elements in d is equal to the number of rows in C matrix.

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

a vector of double, contains lower bounds of the variables.

-
ub : -

a vector of double, contains upper bounds of the variables.

-
x0 : -

a vector of double, contains initial guess of variables.

-
param : -

a list containing the parameters to be set.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
resnorm : -

a double, objective value returned as the scalar value norm(Cт‹…x-d)^2.

-
residual : -

a vector of double, solution residuals returned as the vector d-Cт‹…x.

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

Search the minimum of a constrained linear least square problem specified by :

-

-

The routine calls Ipopt for solving the linear least square problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//A simple linear least square example
-C = [ 2 0;
--1 1;
-0 2]
-d = [1
-0
--1];
-A = [10 -2;
--2 10];
-b = [4
--4];
-[xopt,resnorm,residual,exitflag,output,lambda] = lsqlin(C,d,A,b)
-// Press ENTER to continue
- -

Examples

-
//A basic example for equality, inequality constraints and variable bounds
-C = [1 1 1;
-1 1 0;
-0 1 1;
-1 0 0;
-0 0 1]
-d = [89;
-67;
-53;
-35;
-20;]
-A = [3 2 1;
-2 3 4;
-1 2 3];
-b = [191
-209
-162];
-Aeq = [1 2 1];
-beq = 10;
-lb = repmat(0.1,3,1);
-ub = repmat(4,3,1);
-[xopt,resnorm,residual,exitflag,output,lambda] = lsqlin(C,d,A,b,Aeq,beq,lb,ub)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << linprog - - - FOSSEE Optimization Toolbox - - - lsqnonneg >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/lsqnonneg.html b/help/en_US/scilab_en_US_help/lsqnonneg.html deleted file mode 100644 index a095226..0000000 --- a/help/en_US/scilab_en_US_help/lsqnonneg.html +++ /dev/null @@ -1,129 +0,0 @@ - - - lsqnonneg - - - -
- - - - -
- << lsqlin - - - FOSSEE Optimization Toolbox - - - qpipopt >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > lsqnonneg - -

-

lsqnonneg

-

Solves nonnegative least-squares curve fitting problems.

- - -

Calling Sequence

-
xopt = lsqnonneg(C,d)
-xopt = lsqnonneg(C,d,param)
-[xopt,resnorm,residual,exitflag,output,lambda] = lsqnonneg( ... )
- -

Parameters

-
C : -

a matrix of double, represents the multiplier of the solution x in the expression Cт‹…x - d. Number of columns in C is equal to the number of elements in x.

-
d : -

a vector of double, represents the additive constant term in the expression Cт‹…x - d. Number of elements in d is equal to the number of rows in C matrix.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
resnorm : -

a double, objective value returned as the scalar value norm(Cт‹…x-d)^2.

-
residual : -

a vector of double, solution residuals returned as the vector d-Cт‹…x.

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

Solves nonnegative least-squares curve fitting problems specified by :

-

-

The routine calls Ipopt for solving the nonnegative least-squares curve fitting problems, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
// A basic lsqnonneg problem
-C = [1 1 1;
-1 1 0;
-0 1 1;
-1 0 0;
-0 0 1]
-d = [89;
-67;
-53;
-35;
-20;]
-[xopt,resnorm,residual,exitflag,output,lambda] = lsqnonneg(C,d)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << lsqlin - - - FOSSEE Optimization Toolbox - - - qpipopt >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/qpipopt.html b/help/en_US/scilab_en_US_help/qpipopt.html deleted file mode 100644 index 1a6911b..0000000 --- a/help/en_US/scilab_en_US_help/qpipopt.html +++ /dev/null @@ -1,175 +0,0 @@ - - - qpipopt - - - -
- - - - -
- << lsqnonneg - - - FOSSEE Optimization Toolbox - - - qpipoptmat >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > qpipopt - -

-

qpipopt

-

Solves a linear quadratic problem.

- - -

Calling Sequence

-
xopt = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB)
-xopt = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB,x0)
-xopt = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB,x0,param)
-[xopt,fopt,exitflag,output,lamda] = qpipopt( ... )
- -

Parameters

-
nbVar : -

a double, number of variables

-
nbCon : -

a double, number of constraints

-
H : -

a symmetric matrix of double, represents coefficients of quadratic in the quadratic problem.

-
f : -

a vector of double, represents coefficients of linear in the quadratic problem

-
lb : -

a vector of double, contains lower bounds of the variables.

-
ub : -

a vector of double, contains upper bounds of the variables.

-
A : -

a matrix of double, contains the constraint matrix conLB т‰Є Aт‹…x т‰Є conUB.

-
conLB : -

a vector of double, contains lower bounds of the constraints conLB т‰Є Aт‹…x т‰Є conUB.

-
conUB : -

a vector of double, contains upper bounds of the constraints conLB т‰Є Aт‹…x т‰Є conUB.

-
x0 : -

a vector of double, contains initial guess of variables.

-
param : -

a list containing the parameters to be set.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

Search the minimum of a constrained linear quadratic optimization problem specified by :

-

-

The routine calls Ipopt for solving the quadratic problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Ref : example 14 :
-//https://www.me.utexas.edu/~jensen/ORMM/supplements/methods/nlpmethod/S2_quadratic.pdf
-// min. -8*x1*x1 -16*x2*x2 + x1 + 4*x2
-// such that
-//    x1 + x2 <= 5,
-//    x1 <= 3,
-//    x1 >= 0,
-//    x2 >= 0
-H = [2 0
-0 8];
-f = [-8; -16];
-A = [1 1;1 0];
-conUB = [5;3];
-conLB = [-%inf; -%inf];
-lb = [0; 0];
-ub = [%inf; %inf];
-nbVar = 2;
-nbCon = 2;
-[xopt,fopt,exitflag,output,lambda] = qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB)
-//Press ENTER to continue
- -

Examples

-
//Find x in R^6 such that:
-A= [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'т‹…Hт‹…x + f'т‹…x with
-f=[1; 2; 3; 4; 5; 6]; H=eye(6,6);
-nbVar = 6;
-nbCon = 5;
-x0 = repmat(0,nbVar,1);
-param = list("MaxIter", 300, "CpuTime", 100);
-[xopt,fopt,exitflag,output,lambda]=qpipopt(nbVar,nbCon,H,f,lb,ub,A,conLB,conUB,x0,param)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << lsqnonneg - - - FOSSEE Optimization Toolbox - - - qpipoptmat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/qpipopt_mat.html b/help/en_US/scilab_en_US_help/qpipopt_mat.html deleted file mode 100644 index 2089d8b..0000000 --- a/help/en_US/scilab_en_US_help/qpipopt_mat.html +++ /dev/null @@ -1,139 +0,0 @@ - - - qpipopt_mat - - - -
- - - - -
- << qpipopt - - - Symphony Toolbox - - - qpipoptmat >> - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox > qpipopt_mat - -

-

qpipopt_mat

-

Solves a linear quadratic problem.

- - -

Calling Sequence

-
xopt = qpipopt_mat(nbVar,nbCon,Q,p,LB,UB,conMatrix,conLB,conUB)
-x = qpipopt_mat(H,f)
-x = qpipopt_mat(H,f,A,b)
-x = qpipopt_mat(H,f,A,b,Aeq,beq)
-x = qpipopt_mat(H,f,A,b,Aeq,beq,lb,ub)
-[xopt,fopt,exitflag,output,lamda] = qpipopt_mat( ... )
- -

Parameters

-
H : -

a n x n matrix of doubles, where n is number of variables, represents coefficients of quadratic in the quadratic problem.

-
f : -

a n x 1 matrix of doubles, where n is number of variables, represents coefficients of linear in the quadratic problem

-
A : -

a m x n matrix of doubles, represents the linear coefficients in the inequality constraints

-
b : -

a column vector of doubles, represents the linear coefficients in the inequality constraints

-
Aeq : -

a meq x n matrix of doubles, represents the linear coefficients in the equality constraints

-
beq : -

a vector of doubles, represents the linear coefficients in the equality constraints

-
LB : -

a n x 1 matrix of doubles, where n is number of variables, contains lower bounds of the variables.

-
UB : -

a n x 1 matrix of doubles, where n is number of variables, contains upper bounds of the variables.

-
xopt : -

a nx1 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

-

-

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

-
//Find x in R^6 such that:
-
-Aeq= [1,-1,1,0,3,1;
--1,0,-3,-4,5,6;
-2,5,3,0,1,0];
-beq=[1; 2; 3];
-A= [0,1,0,1,2,-1;
--1,0,2,1,1,0];
-b = [-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
-f=[1; 2; 3; 4; 5; 6]; H=eye(6,6);
-[xopt,fopt,exitflag,output,lambda]=qpipopt_mat(H,f,A,b,Aeq,beq,lb,ub)
-clear H f A b Aeq beq lb ub;
- -

Examples

-
//Find the value of x that minimize following function
-// f(x) = 0.5*x1^2 + x2^2 - x1*x2 - 2*x1 - 6*x2
-// Subject to:
-// x1 + x2 т‰Є 2
-// т€“x1 + 2x2 т‰Є 2
-// 2x1 + x2 т‰Є 3
-// 0 т‰Є x1, 0 т‰Є x2.
-H = [1 -1; -1 2];
-f = [-2; -6];
-A = [1 1; -1 2; 2 1];
-b = [2; 2; 3];
-lb = [0; 0];
-ub = [%inf; %inf];
-[xopt,fopt,exitflag,output,lambda] = qpipopt_mat(H,f,A,b,[],[],lb,ub)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << qpipopt - - - Symphony Toolbox - - - qpipoptmat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/qpipoptmat.html b/help/en_US/scilab_en_US_help/qpipoptmat.html deleted file mode 100644 index f5498bf..0000000 --- a/help/en_US/scilab_en_US_help/qpipoptmat.html +++ /dev/null @@ -1,171 +0,0 @@ - - - qpipoptmat - - - -
- - - - -
- << qpipopt - - - FOSSEE Optimization Toolbox - - - symphony >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > qpipoptmat - -

-

qpipoptmat

-

Solves a linear quadratic problem.

- - -

Calling Sequence

-
xopt = qpipoptmat(H,f)
-xopt = qpipoptmat(H,f,A,b)
-xopt = qpipoptmat(H,f,A,b,Aeq,beq)
-xopt = qpipoptmat(H,f,A,b,Aeq,beq,lb,ub)
-xopt = qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,x0)
-xopt = qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,x0,param)
-[xopt,fopt,exitflag,output,lamda] = qpipoptmat( ... )
- -

Parameters

-
H : -

a symmetric matrix of double, represents coefficients of quadratic in the quadratic problem.

-
f : -

a vector of double, represents coefficients of linear in the quadratic problem

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

a vector of double, contains lower bounds of the variables.

-
ub : -

a vector of double, contains upper bounds of the variables.

-
x0 : -

a vector of double, contains initial guess of variables.

-
param : -

a list containing the parameters to be set.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
exitflag : -

The exit status. See below for details.

-
output : -

The structure consist of statistics about the optimization. See below for details.

-
lambda : -

The structure consist of the Lagrange multipliers at the solution of problem. See below for details.

- -

Description

-

Search the minimum of a constrained linear quadratic optimization problem specified by :

-

-

The routine calls Ipopt for solving the quadratic problem, Ipopt is a library written in C++.

-

The options allows the user to set various parameters of the Optimization problem. -It should be defined as type "list" and contains the following fields. -

-

The exitflag allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on exitflag see the ipopt documentation, go to http://www.coin-or.org/Ipopt/documentation/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

The lambda data structure contains the Lagrange multipliers at the end -of optimization. In the current version the values are returned only when the the solution is optimal. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Ref : example 14 :
-//https://www.me.utexas.edu/~jensen/ORMM/supplements/methods/nlpmethod/S2_quadratic.pdf
-// min. -8*x1*x1 -16*x2*x2 + x1 + 4*x2
-// such that
-//    x1 + x2 <= 5,
-//    x1 <= 3,
-//    x1 >= 0,
-//    x2 >= 0
-H = [2 0
-0 8];
-f = [-8; -16];
-A = [1 1;1 0];
-b = [5;3];
-lb = [0; 0];
-ub = [%inf; %inf];
-[xopt,fopt,exitflag,output,lambda] = qpipoptmat(H,f,A,b,[],[],lb,ub)
-// Press ENTER to continue
- -

Examples

-
//Find x in R^6 such that:
-Aeq= [1,-1,1,0,3,1;
--1,0,-3,-4,5,6;
-2,5,3,0,1,0];
-beq=[1; 2; 3];
-A= [0,1,0,1,2,-1;
--1,0,2,1,1,0];
-b = [-1; 2.5];
-lb=[-1000; -10000; 0; -1000; -1000; -1000];
-ub=[10000; 100; 1.5; 100; 100; 1000];
-x0 = repmat(0,6,1);
-param = list("MaxIter", 300, "CpuTime", 100);
-//and minimize 0.5*x'*H*x + f'*x with
-f=[1; 2; 3; 4; 5; 6]; H=eye(6,6);
-[xopt,fopt,exitflag,output,lambda]=qpipoptmat(H,f,A,b,Aeq,beq,lb,ub,x0,param)
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << qpipopt - - - FOSSEE Optimization Toolbox - - - symphony >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/scilab_code.css b/help/en_US/scilab_en_US_help/scilab_code.css deleted file mode 100644 index 658f42e..0000000 --- a/help/en_US/scilab_en_US_help/scilab_code.css +++ /dev/null @@ -1,96 +0,0 @@ -.scilabcomment { - font-style: italic; - color: #01a801 -} - -.scilabdefault { - font-style: normal; - color: #000000 -} - -.scilabspecial { - font-style: normal; - color: #ffaa00 -} - -.scilabconstants { - font-style: normal; - color: #da70d6 -} - -.scilaboperator { - font-style: normal; - color: #5c5c5c -} - -.scilabnumber { - font-style: normal; - color: #bc8f8f -} - -.scilabfkeyword { - font-style: normal; - color: #b01813 -} - -.scilabskeyword { - font-style: normal; - color: #a020f0 -} - -.scilabckeyword { - font-style: normal; - color: #5f9ea0 -} - -.scilabcommand { - font-style: normal; - color: #32b9b9 -} - -.scilabmacro { - font-style: normal; - color: #ae5cb0 -} - -a.scilabcommand { - font-style: normal; - text-decoration: underline; - color: #32b9b9 -} - -a.scilabmacro { - font-style: normal; - text-decoration: underline; - color: #ae5cb0 -} - -.scilabstring { - font-style: normal; - color: #bc8f8f -} - -.scilabid { - font-style: normal; - color: #000000 -} - -.scilabinputoutputargs { - font-weight: bold; - color: #834310 -} - -.scilabfunctionid { - font-weight: bold; - color: #000000 -} - -.scilabfield { - font-style: normal; - color: #aaaaaa -} - -.scilabopenclose { - font-style: normal; - color: #4a55db -} diff --git a/help/en_US/scilab_en_US_help/section_0317555ae11e0354d453ec57ef8c1f09.html b/help/en_US/scilab_en_US_help/section_0317555ae11e0354d453ec57ef8c1f09.html deleted file mode 100644 index 02d199d..0000000 --- a/help/en_US/scilab_en_US_help/section_0317555ae11e0354d453ec57ef8c1f09.html +++ /dev/null @@ -1,298 +0,0 @@ - - - - - - -
- - - - -
- - - Symphony Toolbox - - - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox - -

-

Symphony Toolbox

- -
- -
- - - - - - -
Report an issue
- - - Symphony Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html b/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html deleted file mode 100644 index b34093f..0000000 --- a/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - -
- - - - -
- - - FOSSEE Optimization Toolbox - - - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox - -

-

FOSSEE Optimization Toolbox

- -
- -
- - - - - - -
Report an issue
- - - FOSSEE Optimization Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html~ b/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html~ deleted file mode 100644 index 482abc6..0000000 --- a/help/en_US/scilab_en_US_help/section_19f4f1e5726c01d683e8b82be0a7e910.html~ +++ /dev/null @@ -1,296 +0,0 @@ - - - - - - -
- - - - -
- - - Symphony - - - -
-
-
- - - - Symphony >> Symphony Gateway Functions - -

-

Symphony Gateway Functions

- -
- -
- - - - - - -
Report an issue
- - - Symphony - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_508f0b211d17ea6769714cc144e6b731.html b/help/en_US/scilab_en_US_help/section_508f0b211d17ea6769714cc144e6b731.html deleted file mode 100644 index b3b3135..0000000 --- a/help/en_US/scilab_en_US_help/section_508f0b211d17ea6769714cc144e6b731.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -
- - - - -
- << symphonymat - - - FOSSEE Optimization Toolbox - - - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions - -

-

Symphony Native Functions

- -
- -
- - - - - - -
Report an issue
- << symphonymat - - - FOSSEE Optimization Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_55504497b369d5dbff95caa93ffab1ff.html b/help/en_US/scilab_en_US_help/section_55504497b369d5dbff95caa93ffab1ff.html deleted file mode 100644 index 4d29dfb..0000000 --- a/help/en_US/scilab_en_US_help/section_55504497b369d5dbff95caa93ffab1ff.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -
- - - - -
- - - Symphony Toolbox - - - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox - -

-

Symphony Toolbox

- -
- -
- - - - - - -
Report an issue
- - - Symphony Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_b483a09ee4bfb41798b9f2cf5a640a9c.html b/help/en_US/scilab_en_US_help/section_b483a09ee4bfb41798b9f2cf5a640a9c.html deleted file mode 100644 index 4aa4ab5..0000000 --- a/help/en_US/scilab_en_US_help/section_b483a09ee4bfb41798b9f2cf5a640a9c.html +++ /dev/null @@ -1,285 +0,0 @@ - - - - - - -
- - - - -
- << symphony_mat - - - Symphony Toolbox - - - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox > Symphony Native Functions - -

-

Symphony Native Functions

- -
- -
- - - - - - -
Report an issue
- << symphony_mat - - - Symphony Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/section_bee7f332db33892256e9f1f82b7d348f.html b/help/en_US/scilab_en_US_help/section_bee7f332db33892256e9f1f82b7d348f.html deleted file mode 100644 index 4d29dfb..0000000 --- a/help/en_US/scilab_en_US_help/section_bee7f332db33892256e9f1f82b7d348f.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -
- - - - -
- - - Symphony Toolbox - - - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox - -

-

Symphony Toolbox

- -
- -
- - - - - - -
Report an issue
- - - Symphony Toolbox - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/setOptions.html b/help/en_US/scilab_en_US_help/setOptions.html deleted file mode 100644 index f0b0567..0000000 --- a/help/en_US/scilab_en_US_help/setOptions.html +++ /dev/null @@ -1,59 +0,0 @@ - - - setOptions - - - -
- - - - -
- << Symphony Toolbox - - - Symphony Toolbox - - - symphony >> - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox > setOptions - -

-

setOptions

-

-
- -
- - - - - - -
Report an issue
- << Symphony Toolbox - - - Symphony Toolbox - - - symphony >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/style.css b/help/en_US/scilab_en_US_help/style.css deleted file mode 100644 index 0fe8923..0000000 --- a/help/en_US/scilab_en_US_help/style.css +++ /dev/null @@ -1,350 +0,0 @@ -body { - color:#000000; - background-color:#ffffff; - font-family:sans-serif; - font-size:100%; - margin:5px; - padding:0; - background : url("/img/body.png"); - background-repeat : repeat-x; -} - -.para { - padding-left: 10px; -} - -.refname { - color: #ff6c0a; -} -.refpurpose { - font-size: 110%; -} - -.synopsis { - border: 1px solid black; - width:80%; - padding: 0.5em; -} - -.editbar { - text-align: right; -} - -.term { - color:#800000; - font-size:100%; -} - -h3 { - color: #000063; - font-weight: bold; - font-size:130%; - margin-bottom: 10px; -} - -.programlisting { - font-family: monospace; - font-size: 100%; - background-color:#EEEEFF; - border-color:#CCCCCC; - border-style:solid; - border-width:2px medium; - width:80%; - color:#333333; - line-height:120%; - padding:10px; -} - -.literal { - font-family: monospace; - font-size: 100%; -} - -.option { - font-family: monospace; - font-style: italic; - font-size: 100%; -} - -.command { - font-family: monospace; - font-size: 100%; - color: #32b9b9; -} - -.function { - font-family: monospace; - font-size: 100%; - color: #32b9b9; -} - -.varname { - font-family: monospace; - font-weight: bold; - font-size: 100%; -} - -.constant { - font-family: monospace; - font-size: 100%; - color: #da70d6; -} - -a { - color: blue; - text-decoration:none; -} - -a:hover { - text-decoration:underline; -} - -.itemizedlist { - list-style-type: disk; -} - -.inline-list li { - display: inline; - list-style-type: disk; -} - -.vert-list { - list-style-type: disk; -} - -pre { - margin-bottom: 0px; - margin-top: 0px; -} - -.leftpart { - position:absolute; - float:left; - width: 186px; - padding: 5px; - font-size: smaller; -} - -.content { - margin-top: 100px; - margin-left: 196px -} - -.container { - margin: 0 auto; - width:1024px; -} - -ul.toc li.list-active { - list-style-type:disc; - font-weight:bold; -} - -ul.toc li.parent { - font-size: 115%; - padding: 5px 0px 5px 11px; - border-bottom: 1px solid #cccccc; - margin-bottom: 5px; -} - -ul.toc li.root { - font-size: 135%; - padding: 5px 0px 5px 11px; - border-bottom: 1px solid #cccccc; - margin-bottom: 5px; -} - -ul.toc li { - font-size: 85%; - margin: 1px 0 1px 1px; - padding: 1px 0 1px 11px; - background-repeat: no-repeat; - background-position: center left; - list-style-type: circle; -} - -.next { - float:right; - text-align: right; -} - -.center { - text-align: center; -} - -.screen { - font-family: monospace; - font-size: 100%; - background-color:#FFFFFF; - border-color:#CCCCCC; - border-style:solid; - border-width:2px medium; - width:80%; - color:#333333; - line-height:120%; - padding:10px; -} - -/* Top and bottom navigation controls on manual pages --------------------- */ -div.manualnavbar { - background-color: #E0E0E0; - color: inherit; - padding: 4px; - margin-bottom: 10px; -} -div.manualnavbar .prev { - padding-right: 4px; -} -div.manualnavbar .next { - text-align: right; - padding-left: 4px; -} - -div.manualnavbar .top { - text-align: center; - display: block; -} - -div.manualnavbar hr { - color: #cccccc; - background-color: #cccccc; -} - -/* Footer navigation area ------------------------------------------------- */ - -#pagefooter { - position: relative; - font-size: 75%; - color: inherit; - background-color: #e5e5e5; - width: 100%; -} - -#pagefooterleft { - top: 0px; - left: 0px; - padding: 6px; - margin-right: 30%; -} - -#pagefooterright { - text-align: right; - margin-left: 50%; - padding: 6px; -} -#footnav { - color: inherit; - background-color: #9999cc; - border-width: 1px 0px; - border-color: #333366; - border-style: solid; - text-align: right; - padding-right: 6px; -} - - - - - #global{ -/* width: 90%; */ - max-width: 90em; -/* min-width: 850px; */ - margin-left: auto; - margin-right: auto; - } - - #myHeader{ - background-color:#000000; - color:white; - margin-bottom : 10px; - position : relative; - text-align: center; -/* width : 1024px;*/ - height : 100px; - padding-left : 20px; - background : url("http://atoms.scilab.org/images/homepage/cadre_head.png"); - background-repeat : no-repeat; - background-position : 0px 0px; - - } - - #myFooter{ - background-color:#E5E5E5; - font-color:black; -/* width: 90%;*/ - max-width: 90em; -/* min-width: 850px; - margin-left: 5%; - margin-right: 5%;*/ - margin-top:10px; - padding:10px; - } - - #mainArea{ - width: 100%; - overflow: hidden; - } - - #myLeftArea{ - color:white; - float: left; - width: 180px; - padding:5px; - } - - #myMiddleArea{ - color:black; - margin-left: 200px; - padding: 10px 20px; - } - - #myRightArea{ - color:white; - float: right; - width: 200px; - padding: 12px 20px; - } - - -div#cadre_head -{ - position : relative; - text-align: center; -/* width : 1024px;*/ - height : 100px; - padding-left : 20px; - background : url("/img/cadre_head.png"); - background-repeat : no-repeat; - background-position : 0px 0px; -} - - -div#slogan{ - position: absolute; - top : 50px; - left:251px; - color:#0000AA; - font: 120%, Georgia,Serif; -} -div#cadre_help -{ - position: absolute; - top:45px; - right:0px; - font-size:0.8em; - color:#0000AA; -} - -table.revhistory -{ - width:80%; - border-color:#CCCCCC; - border-style:solid; - border-width:2px medium; - margin-bottom: 10px; -} - -table.revhistory tr.title td -{ - background-color: #9999CC; -} \ No newline at end of file diff --git a/help/en_US/scilab_en_US_help/sym_addConstr.html b/help/en_US/scilab_en_US_help/sym_addConstr.html deleted file mode 100644 index 230d2f8..0000000 --- a/help/en_US/scilab_en_US_help/sym_addConstr.html +++ /dev/null @@ -1,91 +0,0 @@ - - - sym_addConstr - - - -
- - - - -
- << Symphony Native Functions - - - Symphony Native Functions - - - sym_addVar >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_addConstr - -

-

sym_addConstr

-

Add a new constraint

- -

Calling Sequence

-
sym_addConstr(coeff,type,bound1[,bound2])
- -

Description

- -

This function adds a new constraint from scratch. Supported types of constraints are less than or equal to, more than or equal to, equal to, or ranged.

-

The last argument is only required for ranged constraints. For the other types of constraints, only the third argument is required.

- -

Arguments

- -
coeff -

Sparse matrix representing coefficients of the variables in the new constraint (must have 1 row and number of columns equal to number of variables)

-
type -

Type of the new constraint. Supported types: less than or equal to ("L"), greater than or equal to ("G"), equal to ("E"), or ranged ("R")

-
bound1 -

The first (or only) bound for the constraint

-
bound2 -

The second bound for ranged constraints. The two bounds for ranged constraints can be in any order.

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_addConstr(sparse([0,0,1,0,2]),"R",0,10)
-
sym_addConstr(sparse([0,0,1,1,0]),"G",4)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << Symphony Native Functions - - - Symphony Native Functions - - - sym_addVar >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_addVar.html b/help/en_US/scilab_en_US_help/sym_addVar.html deleted file mode 100644 index 29cb8c6..0000000 --- a/help/en_US/scilab_en_US_help/sym_addVar.html +++ /dev/null @@ -1,93 +0,0 @@ - - - sym_addVar - - - -
- - - - -
- << sym_addConstr - - - Symphony Native Functions - - - sym_close >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_addVar - -

-

sym_addVar

-

Add a new variable

- -

Calling Sequence

-
sym_addVar(coeff,lower,upper,obj,isInt,name)
- -

Description

- -

This function adds a new variable from scratch.

- -

Arguments

- -
coeff -

Sparse matrix representing coefficients of the new variable in the existing constraints (must have 1 column and number of rows equal to number of constraints)

-
lower -

Lower bound of the new variable

-
upper -

Upper bound of the new variable

-
obj -

Coefficient of the variable in the objective function

-
isInt -

Wether the variable is constrainted to be an integer (boolean %t or %f)

-
name -

Name of the new variable

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_addVar(sparse([0;0;1;2;0;0]),0,%inf,1.2,%t,"part1")
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_addConstr - - - Symphony Native Functions - - - sym_close >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_close.html b/help/en_US/scilab_en_US_help/sym_close.html deleted file mode 100644 index c78dd36..0000000 --- a/help/en_US/scilab_en_US_help/sym_close.html +++ /dev/null @@ -1,84 +0,0 @@ - - - sym_close - - - -
- - - - -
- << sym_addVar - - - Symphony Native Functions - - - sym_deleteConstrs >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_close - -

-

sym_close

-

Close the Symphony environment

- -

Calling Sequence

-
sym_close()
- -

Description

- -

Closes the already open Symphony environment.

-

Warning: All data loaded into the environment is deleted.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns 1 if the environment was successfully closed and 0 otherwise

- -

Examples

- -
sym_close()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_addVar - - - Symphony Native Functions - - - sym_deleteConstrs >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_deleteConstrs.html b/help/en_US/scilab_en_US_help/sym_deleteConstrs.html deleted file mode 100644 index 6f269ef..0000000 --- a/help/en_US/scilab_en_US_help/sym_deleteConstrs.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_deleteConstrs - - - -
- - - - -
- << sym_close - - - Symphony Native Functions - - - sym_deleteVars >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_deleteConstrs - -

-

sym_deleteConstrs

-

This routine is used to delete rows from the original constraint matrix.

- -

Calling Sequence

-
sym_deleteConstrs(indices)
- -

Description

- -

Arguments

- -
indices -

An array indicating the indices of the rows to be deleted.

- -

Return value

- -

Returns 0 if the constraints specified in the indices are deleted successfully and 0 if it returns corresponding to an error value.

- -

Examples

- -
status=sym_deleteConstrs([1,2])
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_close - - - Symphony Native Functions - - - sym_deleteVars >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_deleteVars.html b/help/en_US/scilab_en_US_help/sym_deleteVars.html deleted file mode 100644 index 37d9dcb..0000000 --- a/help/en_US/scilab_en_US_help/sym_deleteVars.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_deleteVars - - - -
- - - - -
- << sym_deleteConstrs - - - Symphony Native Functions - - - sym_getConstrActivity >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_deleteVars - -

-

sym_deleteVars

-

This routine is used to delete columns from the original problem description.

- -

Calling Sequence

-
sym_deleteVars(indices)
- -

Description

- -

Arguments

- -
indices -

Pointer to an integer type array indicating the indices of the column numbers(variables) to be deleted.

- -

Return value

- -

Returns 0 if the column numbers specified are deleted successfully and 0 if the deletion of column indices did not execute successfully and it returns with an error return value

- -

Examples

- -
status=sym_deleteVars([1,2])
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_deleteConstrs - - - Symphony Native Functions - - - sym_getConstrActivity >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getConstrActivity.html b/help/en_US/scilab_en_US_help/sym_getConstrActivity.html deleted file mode 100644 index 01f5b1e..0000000 --- a/help/en_US/scilab_en_US_help/sym_getConstrActivity.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getConstrActivity - - - -
- - - - -
- << sym_deleteVars - - - Symphony Native Functions - - - sym_getConstrLower >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getConstrActivity - -

-

sym_getConstrActivity

-

Get the activity of the constraints in the solution

- -

Calling Sequence

-
sym_getConstrActivity()
- -

Description

- -

Get the activity of the constraints in the solution.

-

This function may fail if the problem has not been solved already. Use sym_solve() in this case.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns a matrix with 1 column and number of rows equal to number of constraints, that represents the activities of those constraints

- -

Examples

- -
sym_getConstrActivity()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_deleteVars - - - Symphony Native Functions - - - sym_getConstrLower >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getConstrLower.html b/help/en_US/scilab_en_US_help/sym_getConstrLower.html deleted file mode 100644 index 12e89e0..0000000 --- a/help/en_US/scilab_en_US_help/sym_getConstrLower.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getConstrLower - - - -
- - - - -
- << sym_getConstrActivity - - - Symphony Native Functions - - - sym_getConstrRange >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getConstrLower - -

-

sym_getConstrLower

-

To get the lower bounds of the constraints.

- -

Calling Sequence

-
sym_getConstrLower()
- -

Description

- -

This routine is used to get lower bounds of constraints.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a column vector of lower bounds of constraints.

- -

Examples

- -
ans=sym_getConstrLower()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getConstrActivity - - - Symphony Native Functions - - - sym_getConstrRange >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getConstrRange.html b/help/en_US/scilab_en_US_help/sym_getConstrRange.html deleted file mode 100644 index 214e500..0000000 --- a/help/en_US/scilab_en_US_help/sym_getConstrRange.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getConstrRange - - - -
- - - - -
- << sym_getConstrLower - - - Symphony Native Functions - - - sym_getConstrSense >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getConstrRange - -

-

sym_getConstrRange

-

To to get the constraint ranges.

- -

Calling Sequence

-
sym_getConstrRange()
- -

Description

- -

This routine is used to get the constraint ranges.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a column vector of the constraint ranges.

- -

Examples

- -
ans=sym_getConstrRange()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getConstrLower - - - Symphony Native Functions - - - sym_getConstrSense >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getConstrSense.html b/help/en_US/scilab_en_US_help/sym_getConstrSense.html deleted file mode 100644 index e0802be..0000000 --- a/help/en_US/scilab_en_US_help/sym_getConstrSense.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getConstrSense - - - -
- - - - -
- << sym_getConstrRange - - - Symphony Native Functions - - - sym_getConstrUpper >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getConstrSense - -

-

sym_getConstrSense

-

To get the row senses.

- -

Calling Sequence

-
sym_getConstrSense()
- -

Description

- -

This routine is used to get the row senses.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a column vector of the row senses.

- -

Examples

- -
ans=sym_getConstrSense()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getConstrRange - - - Symphony Native Functions - - - sym_getConstrUpper >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getConstrUpper.html b/help/en_US/scilab_en_US_help/sym_getConstrUpper.html deleted file mode 100644 index df3f2eb..0000000 --- a/help/en_US/scilab_en_US_help/sym_getConstrUpper.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getConstrUpper - - - -
- - - - -
- << sym_getConstrSense - - - Symphony Native Functions - - - sym_getDblParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getConstrUpper - -

-

sym_getConstrUpper

-

To get the upper bounds of the constraints.

- -

Calling Sequence

-
sym_getConstrUpper()
- -

Description

- -

This routine is used to get upper bounds of the constraints.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a column vector of upper bounds of constraints.

- -

Examples

- -
ans=sym_getConstrUpper()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getConstrSense - - - Symphony Native Functions - - - sym_getDblParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getDblParam.html b/help/en_US/scilab_en_US_help/sym_getDblParam.html deleted file mode 100644 index 39c59e2..0000000 --- a/help/en_US/scilab_en_US_help/sym_getDblParam.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_getDblParam - - - -
- - - - -
- << sym_getConstrUpper - - - Symphony Native Functions - - - sym_getInfinity >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getDblParam - -

-

sym_getDblParam

-

This routine is used to get the value of a double type parameter.

- -

Calling Sequence

-
sym_getDblParam(key)
- -

Description

- -

Arguments

- -
key -

The name of the double parameter whose value has to be retrieved. Note: should be given within " "

- -

Return value

- -

Returns 0 if the parameter's value has been successfully retrieved and displayed on the console ,else 1 is returned corressponding to an error value for the unsuccessful execution of the function

- -

Examples

- -
status=sym_getDblParam("time_limit")
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getConstrUpper - - - Symphony Native Functions - - - sym_getInfinity >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getInfinity.html b/help/en_US/scilab_en_US_help/sym_getInfinity.html deleted file mode 100644 index 29696da..0000000 --- a/help/en_US/scilab_en_US_help/sym_getInfinity.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getInfinity - - - -
- - - - -
- << sym_getDblParam - - - Symphony Native Functions - - - sym_getIntParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getInfinity - -

-

sym_getInfinity

-

Get Symphony's infinity value

- -

Calling Sequence

-
sym_getInfinity()
- -

Description

- -

Get the value that Symphony considers to be infinity. This is equal to 10^20.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns the infinity value of Symphony

- -

Examples

- -
sym_getInfinity()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getDblParam - - - Symphony Native Functions - - - sym_getIntParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getIntParam.html b/help/en_US/scilab_en_US_help/sym_getIntParam.html deleted file mode 100644 index 55dc0eb..0000000 --- a/help/en_US/scilab_en_US_help/sym_getIntParam.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_getIntParam - - - -
- - - - -
- << sym_getInfinity - - - Symphony Native Functions - - - sym_getIterCount >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getIntParam - -

-

sym_getIntParam

-

This routine is used to get the value of an integer type parameter.

- -

Calling Sequence

-
sym_getIntParam(key)
- -

Description

- -

Arguments

- -
key -

The name of the integer parameter whose value has to be retrieved. Note: should be given within " "

- -

Return value

- -

Returns 0 if the parameter's value has been successfully retrieved and displayed on the console ,else 1 is returned corressponding to an error value for the unsuccessful execution of the function

- -

Examples

- -
status=sym_getIntParam("verbosity")
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getInfinity - - - Symphony Native Functions - - - sym_getIterCount >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getIterCount.html b/help/en_US/scilab_en_US_help/sym_getIterCount.html deleted file mode 100644 index ee3757b..0000000 --- a/help/en_US/scilab_en_US_help/sym_getIterCount.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getIterCount - - - -
- - - - -
- << sym_getIntParam - - - Symphony Native Functions - - - sym_getMatrix >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getIterCount - -

-

sym_getIterCount

-

To get the number of the analyzed nodes of the branching tree after solving the problem.

- -

Calling Sequence

-
sym_getIterCount()
- -

Description

- -

This routine is used to get the number of the analyzed nodes of the branching tree after solving the problem.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns iteration count.

- -

Examples

- -
ans=sym_getIterCount()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getIntParam - - - Symphony Native Functions - - - sym_getMatrix >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getMatrix.html b/help/en_US/scilab_en_US_help/sym_getMatrix.html deleted file mode 100644 index 9f0f608..0000000 --- a/help/en_US/scilab_en_US_help/sym_getMatrix.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getMatrix - - - -
- - - - -
- << sym_getIterCount - - - Symphony Native Functions - - - sym_getNumConstr >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getMatrix - -

-

sym_getMatrix

-

To get the constraint matrix.

- -

Calling Sequence

-
sym_getMatrix()
- -

Description

- -

This routine is used to get the constraint matrix as sparse matrix in a standard row-ordered format.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a row-ordered sparse matrix.

- -

Examples

- -
ans=sym_getMatrix()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getIterCount - - - Symphony Native Functions - - - sym_getNumConstr >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getNumConstr.html b/help/en_US/scilab_en_US_help/sym_getNumConstr.html deleted file mode 100644 index 7b54f83..0000000 --- a/help/en_US/scilab_en_US_help/sym_getNumConstr.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getNumConstr - - - -
- - - - -
- << sym_getMatrix - - - Symphony Native Functions - - - sym_getNumElements >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getNumConstr - -

-

sym_getNumConstr

-

To get the number of the constraints of the current problem.

- -

Calling Sequence

-
sym_getNumConstr()
- -

Description

- -

This routine is used to get the number of the constraints of the current problem.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

If there was an error it prints error message to Scilab console and returns -1, else it returns a number ( >=0 ) as number of constraints.

- -

Examples

- -
ans=sym_getNumConstr()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getMatrix - - - Symphony Native Functions - - - sym_getNumElements >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getNumElements.html b/help/en_US/scilab_en_US_help/sym_getNumElements.html deleted file mode 100644 index 8f59387..0000000 --- a/help/en_US/scilab_en_US_help/sym_getNumElements.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getNumElements - - - -
- - - - -
- << sym_getNumConstr - - - Symphony Native Functions - - - sym_getNumVar >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getNumElements - -

-

sym_getNumElements

-

To get the number of non-zero entries of the constraint matrix of the current problem.

- -

Calling Sequence

-
sym_getNumElements()
- -

Description

- -

This routine is used to get the number of non-zero entries of the constraint matrix of the current problem.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

If there was an error, it prints error message to Scilab console and returns -1, else it returns a number ( >=0 ) as number of non-zero elements.

- -

Examples

- -
ans=sym_getNumElements()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getNumConstr - - - Symphony Native Functions - - - sym_getNumVar >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getNumVar.html b/help/en_US/scilab_en_US_help/sym_getNumVar.html deleted file mode 100644 index f5ba3f6..0000000 --- a/help/en_US/scilab_en_US_help/sym_getNumVar.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getNumVar - - - -
- - - - -
- << sym_getNumElements - - - Symphony Native Functions - - - sym_getObjCoeff >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getNumVar - -

-

sym_getNumVar

-

To get the number of the variables of the current problem.

- -

Calling Sequence

-
sym_getNumVar()
- -

Description

- -

This routine is used to get the number of the variables of the current problem.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

If there was an error it prints error message to Scilab console and returns -1, else it returns a number ( >=0 ) as number of variables.

- -

Examples

- -
ans=sym_getNumVar()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getNumElements - - - Symphony Native Functions - - - sym_getObjCoeff >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getObjCoeff.html b/help/en_US/scilab_en_US_help/sym_getObjCoeff.html deleted file mode 100644 index 2178b5d..0000000 --- a/help/en_US/scilab_en_US_help/sym_getObjCoeff.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getObjCoeff - - - -
- - - - -
- << sym_getNumVar - - - Symphony Native Functions - - - sym_getObjSense >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getObjCoeff - -

-

sym_getObjCoeff

-

To get the objective vector.

- -

Calling Sequence

-
sym_getObjCoeff()
- -

Description

- -

This routine is used to get the objective vector.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a row vector of coefficients of variables in objective.

- -

Examples

- -
ans=sym_getObjCoeff()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getNumVar - - - Symphony Native Functions - - - sym_getObjSense >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getObjSense.html b/help/en_US/scilab_en_US_help/sym_getObjSense.html deleted file mode 100644 index 9137bdc..0000000 --- a/help/en_US/scilab_en_US_help/sym_getObjSense.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getObjSense - - - -
- - - - -
- << sym_getObjCoeff - - - Symphony Native Functions - - - sym_getObjVal >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getObjSense - -

-

sym_getObjSense

-

Get the objective sense

- -

Calling Sequence

-
sym_getObjSense()
- -

Description

- -

This function gets the sense of the objective function (minimization/maximization).

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns 1 if the objective is to be minimized and -1 if the objective is to be maximized

- -

Examples

- -
sym_getObjSense()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getObjCoeff - - - Symphony Native Functions - - - sym_getObjVal >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getObjVal.html b/help/en_US/scilab_en_US_help/sym_getObjVal.html deleted file mode 100644 index 712c695..0000000 --- a/help/en_US/scilab_en_US_help/sym_getObjVal.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getObjVal - - - -
- - - - -
- << sym_getObjSense - - - Symphony Native Functions - - - sym_getPrimalBound >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getObjVal - -

-

sym_getObjVal

-

Get the optimized objective value

- -

Calling Sequence

-
sym_getObjVal()
- -

Description

- -

Get the optimized objective value after after solving the problem.

-

This function may fail if the problem has not been solved already. Use sym_solve() in this case.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns the optimized objective value

- -

Examples

- -
sym_getObjVal()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getObjSense - - - Symphony Native Functions - - - sym_getPrimalBound >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getPrimalBound.html b/help/en_US/scilab_en_US_help/sym_getPrimalBound.html deleted file mode 100644 index eef1de0..0000000 --- a/help/en_US/scilab_en_US_help/sym_getPrimalBound.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_getPrimalBound - - - -
- - - - -
- << sym_getObjVal - - - Symphony Native Functions - - - sym_getRhs >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getPrimalBound - -

-

sym_getPrimalBound

-

Get the primal bound of the problem

- -

Calling Sequence

-
sym_getPrimalBound()
- -

Description

- -

Get the primal bound of the loaded problem.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns the primal bound of the problem

- -

Examples

- -
sym_getPrimalBound()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getObjVal - - - Symphony Native Functions - - - sym_getRhs >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getRhs.html b/help/en_US/scilab_en_US_help/sym_getRhs.html deleted file mode 100644 index 3b4eb7f..0000000 --- a/help/en_US/scilab_en_US_help/sym_getRhs.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getRhs - - - -
- - - - -
- << sym_getPrimalBound - - - Symphony Native Functions - - - sym_getStatus >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getRhs - -

-

sym_getRhs

-

To to get the right hand side vector(column vector).

- -

Calling Sequence

-
sym_getRhs()
- -

Description

- -

This routine is used to get the right hand side vector(coumn vector).

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a column vector of the right hand side values of constraints.

- -

Examples

- -
ans=sym_getRhs()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getPrimalBound - - - Symphony Native Functions - - - sym_getStatus >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getStatus.html b/help/en_US/scilab_en_US_help/sym_getStatus.html deleted file mode 100644 index 8880566..0000000 --- a/help/en_US/scilab_en_US_help/sym_getStatus.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getStatus - - - -
- - - - -
- << sym_getRhs - - - Symphony Native Functions - - - sym_getStrParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getStatus - -

-

sym_getStatus

-

To get status of the problem solver.

- -

Calling Sequence

-
sym_getStatus()
- -

Description

- -

This post-solution query routine is used to learn the termination status of the solution procedure.

-

It prints status of the problem solver to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if it receives any return-value indicating an error message or 0 if it receives any return-value indicating a non-error message.

- -

Examples

- -
status=sym_getStatus()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getRhs - - - Symphony Native Functions - - - sym_getStrParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getStrParam.html b/help/en_US/scilab_en_US_help/sym_getStrParam.html deleted file mode 100644 index f3d3671..0000000 --- a/help/en_US/scilab_en_US_help/sym_getStrParam.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_getStrParam - - - -
- - - - -
- << sym_getStatus - - - Symphony Native Functions - - - sym_getVarLower >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getStrParam - -

-

sym_getStrParam

-

This routine is used to get the value of a string type parameter.

- -

Calling Sequence

-
sym_getStrParam(key)
- -

Description

- -

Arguments

- -
key -

The name of the strung parameter whose value has to be retrieved. Note: should be given within " "

- -

Return value

- -

Returns 0 if the parameter's value has been successfully retrieved and displayed on the console ,else 1 is returned corressponding to an error value for the unsuccessful execution of the function

- -

Examples

- -
status=sym_getStrParam("source_path")
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getStatus - - - Symphony Native Functions - - - sym_getVarLower >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getVarLower.html b/help/en_US/scilab_en_US_help/sym_getVarLower.html deleted file mode 100644 index 7804681..0000000 --- a/help/en_US/scilab_en_US_help/sym_getVarLower.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getVarLower - - - -
- - - - -
- << sym_getStrParam - - - Symphony Native Functions - - - sym_getVarSoln >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getVarLower - -

-

sym_getVarLower

-

To get the lower bounds of the variables.

- -

Calling Sequence

-
sym_getVarLower()
- -

Description

- -

This routine is used to get the lower bounds of the variables.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a row vector of lower bounds of the variables.

- -

Examples

- -
ans=sym_getVarLower()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getStrParam - - - Symphony Native Functions - - - sym_getVarSoln >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getVarSoln.html b/help/en_US/scilab_en_US_help/sym_getVarSoln.html deleted file mode 100644 index 3b6b932..0000000 --- a/help/en_US/scilab_en_US_help/sym_getVarSoln.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getVarSoln - - - -
- - - - -
- << sym_getVarLower - - - Symphony Native Functions - - - sym_getVarUpper >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getVarSoln - -

-

sym_getVarSoln

-

Get the solution for the problem

- -

Calling Sequence

-
sym_getVarSoln()
- -

Description

- -

Get the solution for the problem after solving it.

-

This function may fail if the problem has not been solved already. Use sym_solve() in this case.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns a matrix with 1 row and number of columns equal to number of variables, that represents the solutions for those variables

- -

Examples

- -
sym_getVarSoln()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getVarLower - - - Symphony Native Functions - - - sym_getVarUpper >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_getVarUpper.html b/help/en_US/scilab_en_US_help/sym_getVarUpper.html deleted file mode 100644 index bc8d0ca..0000000 --- a/help/en_US/scilab_en_US_help/sym_getVarUpper.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_getVarUpper - - - -
- - - - -
- << sym_getVarSoln - - - Symphony Native Functions - - - sym_isAbandoned >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_getVarUpper - -

-

sym_getVarUpper

-

To get the upper bounds of the variables.

- -

Calling Sequence

-
sym_getVarUpper()
- -

Description

- -

This routine is used to get the upper bounds of the variables.

-

If there was an error it prints to Scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns a row vector of upper bounds of the variables.

- -

Examples

- -
ans=sym_getVarUpper()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getVarSoln - - - Symphony Native Functions - - - sym_isAbandoned >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isAbandoned.html b/help/en_US/scilab_en_US_help/sym_isAbandoned.html deleted file mode 100644 index 7f22d84..0000000 --- a/help/en_US/scilab_en_US_help/sym_isAbandoned.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isAbandoned - - - -
- - - - -
- << sym_getVarUpper - - - Symphony Native Functions - - - sym_isBinary >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isAbandoned - -

-

sym_isAbandoned

-

To check whether the problem was abandoned for some reason.

- -

Calling Sequence

-
sym_isAbandoned()
- -

Description

- -

This post-solution query routine is used to learn whether the problem was abandoned for some reason.

-

It prints whether or not the problem was abandoned for some reason to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the problem was abandoned or 0 if the problem was not abandoned or -1 if there was an error.

- -

Examples

- -
status=sym_isAbandoned()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_getVarUpper - - - Symphony Native Functions - - - sym_isBinary >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isBinary.html b/help/en_US/scilab_en_US_help/sym_isBinary.html deleted file mode 100644 index 904c383..0000000 --- a/help/en_US/scilab_en_US_help/sym_isBinary.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isBinary - - - -
- - - - -
- << sym_isAbandoned - - - Symphony Native Functions - - - sym_isContinuous >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isBinary - -

-

sym_isBinary

-

Check if a variable is constrained to be binary

- -

Calling Sequence

-
sym_isBinary(index)
- -

Description

- -

This function checks if a variable is constrained to be binary (0 or 1).

- -

Arguments

- -
index -

Index of the variable to check. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

- -

Return value

- -

Returns 1 if the variable is constrained to be binary and 0 if it is not.

- -

Examples

- -
sym_isBinary(2)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isAbandoned - - - Symphony Native Functions - - - sym_isContinuous >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isContinuous.html b/help/en_US/scilab_en_US_help/sym_isContinuous.html deleted file mode 100644 index 22d6f4d..0000000 --- a/help/en_US/scilab_en_US_help/sym_isContinuous.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isContinuous - - - -
- - - - -
- << sym_isBinary - - - Symphony Native Functions - - - sym_isEnvActive >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isContinuous - -

-

sym_isContinuous

-

Check if a variable is continuous

- -

Calling Sequence

-
sym_isContinuous(index)
- -

Description

- -

This function checks if a variable is continuous.

- -

Arguments

- -
index -

Index of the variable to check. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

- -

Return value

- -

Returns 1 if the variable is continuous and 0 if it is not.

- -

Examples

- -
sym_isContinuous(2)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isBinary - - - Symphony Native Functions - - - sym_isEnvActive >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isEnvActive.html b/help/en_US/scilab_en_US_help/sym_isEnvActive.html deleted file mode 100644 index 4997879..0000000 --- a/help/en_US/scilab_en_US_help/sym_isEnvActive.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_isEnvActive - - - -
- - - - -
- << sym_isContinuous - - - Symphony Native Functions - - - sym_isInfeasible >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isEnvActive - -

-

sym_isEnvActive

-

Check if Symphony environment is active

- -

Calling Sequence

-
sym_isEnvActive()
- -

Description

- -

Check if Symphony environment is active (open). Most Symphony functions will require the environment to be open.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns 1 if the environment is active and 0 otherwise

- -

Examples

- -
sym_isEnvActive()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isContinuous - - - Symphony Native Functions - - - sym_isInfeasible >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isInfeasible.html b/help/en_US/scilab_en_US_help/sym_isInfeasible.html deleted file mode 100644 index 2ea8048..0000000 --- a/help/en_US/scilab_en_US_help/sym_isInfeasible.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isInfeasible - - - -
- - - - -
- << sym_isEnvActive - - - Symphony Native Functions - - - sym_isInteger >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isInfeasible - -

-

sym_isInfeasible

-

To check whether the problem was proven to be infeasible.

- -

Calling Sequence

-
sym_isInfeasible()
- -

Description

- -

This post-solution query routine is used to learn whether the problem was proven to be infeasible.

-

It prints whether or not the problem was proven to be infeasible to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the problem was solved proven to be infeasible or 0 if it was not proven to be infeasible or -1 if there was an error.

- -

Examples

- -
status=sym_isInfeasible()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isEnvActive - - - Symphony Native Functions - - - sym_isInteger >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isInteger.html b/help/en_US/scilab_en_US_help/sym_isInteger.html deleted file mode 100644 index 3843b5b..0000000 --- a/help/en_US/scilab_en_US_help/sym_isInteger.html +++ /dev/null @@ -1,77 +0,0 @@ - - - sym_isInteger - - - -
- - - - -
- << sym_isInfeasible - - - Symphony Native Functions - - - sym_isIterLimitReached >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isInteger - -

-

sym_isInteger

- -

Check if a variable is constrained to be an integer

- -

Calling Sequence

- -
sym_isInteger(index)
- -

Description

- -

This function checks if a variable is constrained to be an integer.

-

index : Index of the variable to check. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

- -

Examples

- -
sym_isInteger(2)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isInfeasible - - - Symphony Native Functions - - - sym_isIterLimitReached >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isIterLimitReached.html b/help/en_US/scilab_en_US_help/sym_isIterLimitReached.html deleted file mode 100644 index 7081962..0000000 --- a/help/en_US/scilab_en_US_help/sym_isIterLimitReached.html +++ /dev/null @@ -1,84 +0,0 @@ - - - sym_isIterLimitReached - - - -
- - - - -
- << sym_isInteger - - - Symphony Native Functions - - - sym_isOptimal >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isIterLimitReached - -

-

sym_isIterLimitReached

-

To know whether the iteration limit (node limit) was reached.

- -

Calling Sequence

-
sym_isIterLimitReached()
- -

Description

- -

This post-solution query routine is used to learn whether the iteration limit(node limit) was reached.

-

It prints whether or not the iteration limit (node limit) was reached to scilab console.

-

It can also be used if "find first feasible" parameter was set to true before solving the problem.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the iteration limit is reached or 0 if the iteration limit is not reached or -1 if there was an error.

- -

Examples

- -
status=sym_isIterLimitReached()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isInteger - - - Symphony Native Functions - - - sym_isOptimal >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isOptimal.html b/help/en_US/scilab_en_US_help/sym_isOptimal.html deleted file mode 100644 index 929b01b..0000000 --- a/help/en_US/scilab_en_US_help/sym_isOptimal.html +++ /dev/null @@ -1,84 +0,0 @@ - - - sym_isOptimal - - - -
- - - - -
- << sym_isIterLimitReached - - - Symphony Native Functions - - - sym_isTargetGapAchieved >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isOptimal - -

-

sym_isOptimal

-

To check whether the problem was solved to optimality.

- -

Calling Sequence

-
sym_isOptimal()
- -

Description

- -

This post-solution query routine is used to learn whether the problem was solved to

-

optimality.

-

It prints whether or not the problem was solved to optimality to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the problem was solved to optimality or 0 if it was not solved to optimality or -1 if there was an error.

- -

Examples

- -
status=sym_isOptimal()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isIterLimitReached - - - Symphony Native Functions - - - sym_isTargetGapAchieved >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isTargetGapAchieved.html b/help/en_US/scilab_en_US_help/sym_isTargetGapAchieved.html deleted file mode 100644 index 91d5a7f..0000000 --- a/help/en_US/scilab_en_US_help/sym_isTargetGapAchieved.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isTargetGapAchieved - - - -
- - - - -
- << sym_isOptimal - - - Symphony Native Functions - - - sym_isTimeLimitReached >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isTargetGapAchieved - -

-

sym_isTargetGapAchieved

-

To know whether the target gap was reached.

- -

Calling Sequence

-
sym_isTargetGapAchieved()
- -

Description

- -

This post-solution query routine is used to learn whether the target gap was reached.

-

It print whether or not the target gap was reached.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the target gap was reached or 0 if the target gap was not reached or -1 if there was an error.

- -

Examples

- -
status=sym_isTargetGapAchieved()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isOptimal - - - Symphony Native Functions - - - sym_isTimeLimitReached >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_isTimeLimitReached.html b/help/en_US/scilab_en_US_help/sym_isTimeLimitReached.html deleted file mode 100644 index ce96eae..0000000 --- a/help/en_US/scilab_en_US_help/sym_isTimeLimitReached.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_isTimeLimitReached - - - -
- - - - -
- << sym_isTargetGapAchieved - - - Symphony Native Functions - - - sym_loadMPS >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_isTimeLimitReached - -

-

sym_isTimeLimitReached

-

To know whether the time limit was reached.

- -

Calling Sequence

-
sym_isTimeLimitReached()
- -

Description

- -

This post-solution query routine is used to learn whether the time limit was reached.

-

It prints whether or not the time limit was reached to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if the time limit was reached or 0 if the time limit was not reached or -1 if there was an error.

- -

Examples

- -
status=sym_isTimeLimitReached()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isTargetGapAchieved - - - Symphony Native Functions - - - sym_loadMPS >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_loadMPS.html b/help/en_US/scilab_en_US_help/sym_loadMPS.html deleted file mode 100644 index 4046026..0000000 --- a/help/en_US/scilab_en_US_help/sym_loadMPS.html +++ /dev/null @@ -1,82 +0,0 @@ - - - sym_loadMPS - - - -
- - - - -
- << sym_isTimeLimitReached - - - Symphony Native Functions - - - sym_loadProblem >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_loadMPS - -

-

sym_loadMPS

-

This routine is used to load an instance from an MPS file.

- -

Calling Sequence

-
sym_loadMPS(filename)
- -

Description

- -

Arguments

- -
filename -

It is a string that has the path of the .mps file to loaded.It has to be given within double quotes ("")

- -

Return value

- -

Returns 0 if the .mps file is loaded properly to symphony and 0 if there is an error reading the mps file or the function returns with an error return value

- -

Examples

- -
status=sym_loadMPS("./sample.mps")  -mps file present in the current directory of execution can be mentioned this way also
-
status=sym_loadMPS("/home/Desktop/sample.mps")  -mps file present at a different location must be specified with their entire path
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_isTimeLimitReached - - - Symphony Native Functions - - - sym_loadProblem >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_loadProblem.html b/help/en_US/scilab_en_US_help/sym_loadProblem.html deleted file mode 100644 index 7e29c9b..0000000 --- a/help/en_US/scilab_en_US_help/sym_loadProblem.html +++ /dev/null @@ -1,102 +0,0 @@ - - - sym_loadProblem - - - -
- - - - -
- << sym_loadMPS - - - Symphony Native Functions - - - sym_loadProblemBasic >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_loadProblem - -

-

sym_loadProblem

-

Load a problem into Symphony

- -

Calling Sequence

-
sym_loadProblem(nbVar,nbConstr,varLB,varUB,objCoeff,isInt,objSense,conMatrix,conLB,conUB)
- -

Description

- -

Loads a MIP problem into Symphony. All the necessary data can be given through a single function call.

-

The type of constraint is automatically deduced from the constraint bounds.

- -

Arguments

- -
nbVar -

Number of variables

-
nbConstr -

Number of constraints

-
varLB -

Matrix containing lower bounds of the variables (must have size 1 row and nbVar columns). Bound can be negative infinity

-
varUB -

Matrix containing upper bounds of the variables (must have size 1 row and nbVar columns). Bound can be infinity

-
objCoeff -

Matrix containing coefficients of the variables in the objective (must have size 1 row and nbVar columns)

-
isInt -

Boolean matrix representing wether a variable is constrained to be an integer (must have size 1 row and nbVar columns)

-
objSense -

The sense (maximization/minimization) of the objective. Use sym_minimize or sym_maximize here

-
conMatrix -

Sparse matrix representing the constraint matrix (must have size nbConstr rows and nbVar columns)

-
conLB -

Matrix containing lower bounds of the constraints (must have size nbConstr rows and 1 column)

-
conUB -

Matrix containing upper bounds of the constraints (must have size nbConstr rows and 1 column)

- -

Return value

- -

Returns 0 if the problem was successfully loaded into Symphony

- -

Examples

- -
sym_loadProblem(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,sparse([1,2;2,1]),[0;0],[7;6.5])
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_loadMPS - - - Symphony Native Functions - - - sym_loadProblemBasic >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html b/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html deleted file mode 100644 index 23f690e..0000000 --- a/help/en_US/scilab_en_US_help/sym_loadProblemBasic.html +++ /dev/null @@ -1,103 +0,0 @@ - - - sym_loadProblemBasic - - - -
- - - - -
- << sym_loadProblem - - - Symphony Native Functions - - - sym_open >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_loadProblemBasic - -

-

sym_loadProblemBasic

-

Load a problem into Symphony (basic version)

- -

Calling Sequence

-
sym_loadProblemBasic(nbVar,nbConstr,varLB,varUB,objCoeff,isInt,objSense,conMatrix,conLB,conUB)
- -

Description

- -

Loads a MIP problem into Symphony. All the necessary data can be given through a single function call.

-

The type of constraint is automatically deduced from the constraint bounds.

-

This version of the problem loader does not support sparse matrices and hence is only useful for small problems.

- -

Arguments

- -
nbVar -

Number of variables

-
nbConstr -

Number of constraints

-
varLB -

Matrix containing lower bounds of the variables (must have size 1 row and nbVar columns). Bound can be negative infinity

-
varUB -

Matrix containing upper bounds of the variables (must have size 1 row and nbVar columns). Bound can be infinity

-
objCoeff -

Matrix containing coefficients of the variables in the objective (must have size 1 row and nbVar columns)

-
isInt -

Boolean matrix representing wether a variable is constrained to be an integer (must have size 1 row and nbVar columns)

-
objSense -

The sense (maximization/minimization) of the objective. Use sym_minimize or sym_maximize here

-
conMatrix -

Matrix (normal) representing the constraint matrix (must have size nbConstr rows and nbVar columns)

-
conLB -

Matrix containing lower bounds of the constraints (must have size nbConstr rows and 1 column)

-
conUB -

Matrix containing upper bounds of the constraints (must have size nbConstr rows and 1 column)

- -

Return value

- -

Returns 0 if the problem was successfully loaded into Symphony

- -

Examples

- -
sym_loadProblemBasic(2,2,[0,0],[%inf,%inf],[1,1],[%t,%t],sym_maximize,[1,2;2,1],[0;0],[7;6.5])
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_loadProblem - - - Symphony Native Functions - - - sym_open >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_open.html b/help/en_US/scilab_en_US_help/sym_open.html deleted file mode 100644 index 7347781..0000000 --- a/help/en_US/scilab_en_US_help/sym_open.html +++ /dev/null @@ -1,84 +0,0 @@ - - - sym_open - - - -
- - - - -
- << sym_loadProblemBasic - - - Symphony Native Functions - - - sym_resetParams >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_open - -

-

sym_open

-

Open the Symphony environment

- -

Calling Sequence

-
sym_open()
- -

Description

- -

Opens the Symphony environment. The environment and all data loaded into it is maintained across function calls.

-

This function fails if the environment is already open.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns 1 if the environment was successfully opened and 0 otherwise

- -

Examples

- -
sym_open()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_loadProblemBasic - - - Symphony Native Functions - - - sym_resetParams >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_resetParams.html b/help/en_US/scilab_en_US_help/sym_resetParams.html deleted file mode 100644 index a28d629..0000000 --- a/help/en_US/scilab_en_US_help/sym_resetParams.html +++ /dev/null @@ -1,80 +0,0 @@ - - - sym_resetParams - - - -
- - - - -
- << sym_open - - - Symphony Native Functions - - - sym_setConstrLower >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_resetParams - -

-

sym_resetParams

-

This routine sets all the environment variables and parameters to their default values.

- -

Calling Sequence

-
sym_resetParams()
- -

Description

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

Returns 0 if the environment variables and parameters are set to their default value and 1 if a value corresponding to an error is returned

- -

Examples

- -
status=sym_resetParams()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_open - - - Symphony Native Functions - - - sym_setConstrLower >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setConstrLower.html b/help/en_US/scilab_en_US_help/sym_setConstrLower.html deleted file mode 100644 index 937983f..0000000 --- a/help/en_US/scilab_en_US_help/sym_setConstrLower.html +++ /dev/null @@ -1,85 +0,0 @@ - - - sym_setConstrLower - - - -
- - - - -
- << sym_resetParams - - - Symphony Native Functions - - - sym_setConstrType >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setConstrLower - -

-

sym_setConstrLower

-

Set the lower bound of a constraint

- -

Calling Sequence

-
sym_setConstrLower(index,newBound)
- -

Description

- -

This function changes the lower bound of a constraint

- -

Arguments

- -
index -

Index of the constraint to modify. Must be in {0,1,2,...n-1} where n is the number of constraints in the problem

-
newBound -

The new lower bound for the constraint

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setConstrLower(2,-100)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_resetParams - - - Symphony Native Functions - - - sym_setConstrType >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setConstrType.html b/help/en_US/scilab_en_US_help/sym_setConstrType.html deleted file mode 100644 index 3ad6e86..0000000 --- a/help/en_US/scilab_en_US_help/sym_setConstrType.html +++ /dev/null @@ -1,91 +0,0 @@ - - - sym_setConstrType - - - -
- - - - -
- << sym_setConstrLower - - - Symphony Native Functions - - - sym_setConstrUpper >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setConstrType - -

-

sym_setConstrType

-

Set the type of a constraint

- -

Calling Sequence

-
sym_setConstrType(index,type,bound1[,bound2])
- -

Description

- -

This function completely modifies the type of a constraint. Supported types of constraints are less than or equal to, more than or equal to, equal to, or ranged.

-

The last argument is only required for ranged constraints. For the other types of constraints, only the third argument is required.

- -

Arguments

- -
index -

Index of the constraint to modify. Must be in {0,1,2,...n-1} where n is the number of constraints in the problem

-
type -

New type of the constraint. Supported types: less than or equal to ("L"), greater than or equal to ("G"), equal to ("E"), or ranged ("R")

-
bound1 -

The first (or only) bound for the constraint

-
bound2 -

The second bound for ranged constraints. The two bounds for ranged constraints can be in any order.

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setConstrType(2,"R",-10,10)
-
sym_setConstrType(3,"E",100)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setConstrLower - - - Symphony Native Functions - - - sym_setConstrUpper >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setConstrUpper.html b/help/en_US/scilab_en_US_help/sym_setConstrUpper.html deleted file mode 100644 index 11086a0..0000000 --- a/help/en_US/scilab_en_US_help/sym_setConstrUpper.html +++ /dev/null @@ -1,85 +0,0 @@ - - - sym_setConstrUpper - - - -
- - - - -
- << sym_setConstrType - - - Symphony Native Functions - - - sym_setContinuous >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setConstrUpper - -

-

sym_setConstrUpper

-

Set the upper bound of a constraint

- -

Calling Sequence

-
sym_setConstrUpper(index,newBound)
- -

Description

- -

This function changes the upper bound of a constraint

- -

Arguments

- -
index -

Index of the constraint to modify. Must be in {0,1,2,...n-1} where n is the number of constraints in the problem

-
newBound -

The new upper bound for the constraint

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setConstrUpper(2,-100)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setConstrType - - - Symphony Native Functions - - - sym_setContinuous >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setContinuous.html b/help/en_US/scilab_en_US_help/sym_setContinuous.html deleted file mode 100644 index d794b27..0000000 --- a/help/en_US/scilab_en_US_help/sym_setContinuous.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_setContinuous - - - -
- - - - -
- << sym_setConstrUpper - - - Symphony Native Functions - - - sym_setDblParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setContinuous - -

-

sym_setContinuous

-

This routine is used to set the type of a variable to be continuous.

- -

Calling Sequence

-
sym_setContinuous(index)
- -

Description

- -

Arguments

- -
index -

Index of the variable to be set continuous

- -

Return value

- -

Returns 0 if the variable type has been set as continuous and 0 if an error value is returned.

- -

Examples

- -
status=sym_setContinuous(1)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setConstrUpper - - - Symphony Native Functions - - - sym_setDblParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setDblParam.html b/help/en_US/scilab_en_US_help/sym_setDblParam.html deleted file mode 100644 index e35cb84..0000000 --- a/help/en_US/scilab_en_US_help/sym_setDblParam.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_setDblParam - - - -
- - - - -
- << sym_setContinuous - - - Symphony Native Functions - - - sym_setIntParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setDblParam - -

-

sym_setDblParam

-

This routine is used to set a double type parameter.

- -

Calling Sequence

-
sym_setDblParam(key,value)
- -

Description

- -

Arguments

- -
key -

The name of the double type parameter to be set. Note: should be given within " "

-
value -

New value of the corresponding double parameter

- -

Return value

- -

Returns 0 if the parameter specified is set to the value mentioned and 0 if setting of the double parameter was unsuccessful due to invalid inputs

- -

Examples

- -
status=sym_setDblParam("time_limit",5)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setContinuous - - - Symphony Native Functions - - - sym_setIntParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setIntParam.html b/help/en_US/scilab_en_US_help/sym_setIntParam.html deleted file mode 100644 index 0f9b8ce..0000000 --- a/help/en_US/scilab_en_US_help/sym_setIntParam.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_setIntParam - - - -
- - - - -
- << sym_setDblParam - - - Symphony Native Functions - - - sym_setInteger >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setIntParam - -

-

sym_setIntParam

-

This routine is used to set an integer type parameter.

- -

Calling Sequence

-
sym_setIntParam(key,value)
- -

Description

- -

Arguments

- -
key -

The name of the parameter to be set. Note:should be given within " "

-
value -

New value of the corresponding integer parameter

- -

Return value

- -

Returns 0 if the parameter specified is set to the value mentioned and 0 if setting of the integer parameter was unsuccessful due to invalid inputs

- -

Examples

- -
status=sym_setIntParam("verbosity",5)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setDblParam - - - Symphony Native Functions - - - sym_setInteger >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setInteger.html b/help/en_US/scilab_en_US_help/sym_setInteger.html deleted file mode 100644 index 4402005..0000000 --- a/help/en_US/scilab_en_US_help/sym_setInteger.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_setInteger - - - -
- - - - -
- << sym_setIntParam - - - Symphony Native Functions - - - sym_setObjCoeff >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setInteger - -

-

sym_setInteger

-

This routine is used to set the type of a variable to be integer.

- -

Calling Sequence

-
sym_setInteger(index)
- -

Description

- -

Arguments

- -
index -

The index of the variable type to be modified as integer. Note that, it has to be at most the number of columns.

- -

Return value

- -

Returns 0 if the variable type has been set as integer and 0 if an error value is returned.

- -

Examples

- -
status=sym_setInteger(1)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setIntParam - - - Symphony Native Functions - - - sym_setObjCoeff >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setObjCoeff.html b/help/en_US/scilab_en_US_help/sym_setObjCoeff.html deleted file mode 100644 index b8fa629..0000000 --- a/help/en_US/scilab_en_US_help/sym_setObjCoeff.html +++ /dev/null @@ -1,85 +0,0 @@ - - - sym_setObjCoeff - - - -
- - - - -
- << sym_setInteger - - - Symphony Native Functions - - - sym_setObjSense >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setObjCoeff - -

-

sym_setObjCoeff

-

Set coefficient of a variable in the objective

- -

Calling Sequence

-
sym_setObjCoeff(index,newCoeff)
- -

Description

- -

This function changes the coefficient of a variable in the objective function

- -

Arguments

- -
index -

Index of the variable to modify. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

-
newCoeff -

The new coefficient of the variable

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setObjCoeff(2,1.5)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setInteger - - - Symphony Native Functions - - - sym_setObjSense >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setObjSense.html b/help/en_US/scilab_en_US_help/sym_setObjSense.html deleted file mode 100644 index 69b7093..0000000 --- a/help/en_US/scilab_en_US_help/sym_setObjSense.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_setObjSense - - - -
- - - - -
- << sym_setObjCoeff - - - Symphony Native Functions - - - sym_setPrimalBound >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setObjSense - -

-

sym_setObjSense

-

Set the objective sense

- -

Calling Sequence

-
sym_setObjSense(sense)
- -

Description

- -

This function sets the sense of the objective function (minimization/maximization).

- -

Arguments

- -
sense -

The new sense of the objective function. Use sym_minimize or sym_maximize here

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setObjSense(sym_minimize)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setObjCoeff - - - Symphony Native Functions - - - sym_setPrimalBound >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setPrimalBound.html b/help/en_US/scilab_en_US_help/sym_setPrimalBound.html deleted file mode 100644 index 3040f55..0000000 --- a/help/en_US/scilab_en_US_help/sym_setPrimalBound.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_setPrimalBound - - - -
- - - - -
- << sym_setObjSense - - - Symphony Native Functions - - - sym_setStrParam >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setPrimalBound - -

-

sym_setPrimalBound

-

Set the primal bound of the problem

- -

Calling Sequence

-
sym_setPrimalBound(bound)
- -

Description

- -

Set the primal bound of the loaded problem.

- -

Arguments

- -
bound -

The new primal bound for the problem

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setPrimalBound(10)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setObjSense - - - Symphony Native Functions - - - sym_setStrParam >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setStrParam.html b/help/en_US/scilab_en_US_help/sym_setStrParam.html deleted file mode 100644 index 2fa67ca..0000000 --- a/help/en_US/scilab_en_US_help/sym_setStrParam.html +++ /dev/null @@ -1,83 +0,0 @@ - - - sym_setStrParam - - - -
- - - - -
- << sym_setPrimalBound - - - Symphony Native Functions - - - sym_setVarLower >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setStrParam - -

-

sym_setStrParam

-

This routine is used to set a string type parameter.

- -

Calling Sequence

-
sym_setStrParam(key,value)
- -

Description

- -

Arguments

- -
key -

The name of the string type parameter to be set. Note: should be given within " "

-
value -

New value of the corresponding string parameter. Note: should be given within " "

- -

Return value

- -

Returns 0 if the parameter specified is set to the value mentioned and 0 if setting of the string parameter was unsuccessful due to invalid inputs

- -

Examples

- -
status=sym_setStrParam("source_path","..")
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setPrimalBound - - - Symphony Native Functions - - - sym_setVarLower >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setVarLower.html b/help/en_US/scilab_en_US_help/sym_setVarLower.html deleted file mode 100644 index 2b977d2..0000000 --- a/help/en_US/scilab_en_US_help/sym_setVarLower.html +++ /dev/null @@ -1,85 +0,0 @@ - - - sym_setVarLower - - - -
- - - - -
- << sym_setStrParam - - - Symphony Native Functions - - - sym_setVarSoln >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setVarLower - -

-

sym_setVarLower

-

Set lower bound of a variable

- -

Calling Sequence

-
sym_setVarLower(index,newBound)
- -

Description

- -

This function changes the lower bound of a variable to a new value

- -

Arguments

- -
index -

Index of the variable to modify. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

-
newBound -

The new lower bound for the variable

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setVarLower(2,-%inf)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setStrParam - - - Symphony Native Functions - - - sym_setVarSoln >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setVarSoln.html b/help/en_US/scilab_en_US_help/sym_setVarSoln.html deleted file mode 100644 index f8c73c7..0000000 --- a/help/en_US/scilab_en_US_help/sym_setVarSoln.html +++ /dev/null @@ -1,84 +0,0 @@ - - - sym_setVarSoln - - - -
- - - - -
- << sym_setVarLower - - - Symphony Native Functions - - - sym_setVarUpper >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setVarSoln - -

-

sym_setVarSoln

-

Set a solution for the problem

- -

Calling Sequence

-
sym_setVarSoln(solution)
- -

Description

- -

Sets a known solution for the problem.

-

This function fails if the solution entered does not satisfy all bounds or is worse than another currently known solution.

- -

Arguments

- -
solution -

Matrix containing solutions for the variables (must have size 1 row and number of columns equal to number of variables)

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setVarSoln([1,2,3.2,4])
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setVarLower - - - Symphony Native Functions - - - sym_setVarUpper >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_setVarUpper.html b/help/en_US/scilab_en_US_help/sym_setVarUpper.html deleted file mode 100644 index 16659ce..0000000 --- a/help/en_US/scilab_en_US_help/sym_setVarUpper.html +++ /dev/null @@ -1,85 +0,0 @@ - - - sym_setVarUpper - - - -
- - - - -
- << sym_setVarSoln - - - Symphony Native Functions - - - sym_solve >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_setVarUpper - -

-

sym_setVarUpper

-

Set upper bound of a variable

- -

Calling Sequence

-
sym_setVarUpper(index,newBound)
- -

Description

- -

This function changes the upper bound of a variable to a new value

- -

Arguments

- -
index -

Index of the variable to modify. Must be in {0,1,2,...n-1} where n is the number of variables in the problem

-
newBound -

The new upper bound for the variable

- -

Return value

- -

Returns 0

- -

Examples

- -
sym_setVarUpper(2,100)
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setVarSoln - - - Symphony Native Functions - - - sym_solve >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/sym_solve.html b/help/en_US/scilab_en_US_help/sym_solve.html deleted file mode 100644 index 67e43f5..0000000 --- a/help/en_US/scilab_en_US_help/sym_solve.html +++ /dev/null @@ -1,81 +0,0 @@ - - - sym_solve - - - -
- - - - -
- << sym_setVarUpper - - - Symphony Native Functions - - - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > Symphony Native Functions > sym_solve - -

-

sym_solve

-

To solve the currently loaded MILP problem from scratch.

- -

Calling Sequence

-
sym_solve()
- -

Description

- -

This routine solves the currently loaded MILP problem from scratch.

-

It prints status of the problem solver to scilab console.

- -

Arguments

- -

This function takes no arguments

- -

Return value

- -

It returns 1 if it receives any return-value indicating an error message or 0 if it receives any return-value indicating a non-error message.

- -

Examples

- -
status=sym_solve()
- -

Authors

- -
-
- -
- - - - - - -
Report an issue
- << sym_setVarUpper - - - Symphony Native Functions - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/symphony.html b/help/en_US/scilab_en_US_help/symphony.html deleted file mode 100644 index a27f8e8..0000000 --- a/help/en_US/scilab_en_US_help/symphony.html +++ /dev/null @@ -1,224 +0,0 @@ - - - symphony - - - -
- - - - -
- << qpipoptmat - - - FOSSEE Optimization Toolbox - - - symphonymat >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > symphony - -

-

symphony

-

Solves a mixed integer linear programming constrained optimization problem.

- - -

Calling Sequence

-
xopt = symphony(nbVar,nbCon,c,isInt,lb,ub,A,conLB,conUB)
-xopt = symphony(nbVar,nbCon,c,isInt,lb,ub,A,conLB,conUB,objSense)
-xopt = symphony(nbVar,nbCon,c,isInt,lb,ub,A,conLB,conUB,objSense,options)
-[xopt,fopt,status,output] = symphony( ... )
- -

Parameters

-
nbVar : -

a double, number of variables.

-
nbCon : -

a double, number of constraints.

-
c : -

a vector of double, represents coefficients of the variables in the objective.

-
isInt : -

a vector of boolean, represents wether a variable is constrained to be an integer.

-
lb : -

a vector of double, represents lower bounds of the variables.

-
ub : -

a vector of double, represents upper bounds of the variables.

-
A : -

a matrix of double, represents matrix representing the constraint matrix conLB т‰Є Aт‹…x т‰Є conUB.

-
conLB : -

a vector of double, represents lower bounds of the constraints conLB т‰Є Aт‹…x т‰Є conUB.

-
conUB : -

a vector of double, represents upper bounds of the constraints conLB т‰Є Aт‹…x т‰Є conUB.

-
objSense : -

The sense (maximization/minimization) of the objective. Use 1(sym_minimize ) or -1 (sym_maximize) here.

-
options : -

a list containing the parameters to be set.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
status : -

status flag returned from symphony.See below for details.

-
output : -

The output data structure contains detailed information about the optimization process. See below for details.

- -

Description

-

Search the minimum or maximum of a constrained mixed integer linear programming optimization problem specified by :

-

-

The routine calls SYMPHONY written in C by gateway files for the actual computation.

-

The status allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on status see the symphony documentation, go to http://www.coin-or.org/SYMPHONY/man-5.6/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
//Reference: Westerberg, Carl-Henrik, Bengt Bjorklund, and Eskil Hultman. "An application of mixed integer programming in a Swedish steel mill." Interfaces 7, no. 2 (1977): 39-43.
-// Objective function
-c = [350*5,330*3,310*4,280*6,500,450,400,100]';
-// Lower Bound of variable
-lb = repmat(0,8,1);
-// Upper Bound of variables
-ub = [repmat(1,4,1);repmat(%inf,4,1)];
-// Constraint Matrix
-A = [5,3,4,6,1,1,1,1;
-5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;
-5*0.03,3*0.03,4*0.04,6*0.04,0.06,0.07,0.08,0.09;]
-// Lower Bound of constraints
-conlb = [ 25; 1.25; 1.25]
-// Upper Bound of constraints
-conub = [ 25; 1.25; 1.25]
-// Row Matrix for telling symphony that the is integer or not
-isInt = [repmat(%t,1,4) repmat(%f,1,4)];
-xopt = [1 1 0 1 7.25 0 0.25 3.5]
-fopt = [8495]
-// Calling Symphony
-[x,f,status,output] = symphony(8,3,c,isInt,lb,ub,A,conlb,conub,1)
-// Press ENTER to continue
- -

Examples

-
// An advanced case where we set some options in symphony
-// This problem is taken from
-// P.C.Chu and J.E.Beasley
-// "A genetic algorithm for the multidimensional knapsack problem",
-// Journal of Heuristics, vol. 4, 1998, pp63-86.
-// The problem to be solved is:
-// Max  sum{j=1,...,n} p(j)x(j)
-// st   sum{j=1,...,n} r(i,j)x(j) <= b(i)       i=1,...,m
-//                     x(j)=0 or 1
-// The function to be maximize i.e. P(j)
-c = [   504 803 667 1103 834 585 811 856 690 832 846 813 868 793 ..
-825 1002 860 615 540 797 616 660 707 866 647 746 1006 608 ..
-877 900 573 788 484 853 942 630 591 630 640 1169 932 1034 ..
-957 798 669 625 467 1051 552 717 654 388 559 555 1104 783 ..
-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
-A = [
-//Constraint 1
-42 41 523 215 819 551 69 193 582 375 367 478 162 898 ..
-550 553 298 577 493 183 260 224 852 394 958 282 402 604 ..
-164 308 218 61 273 772 191 117 276 877 415 873 902 465 ..
-320 870 244 781 86 622 665 155 680 101 665 227 597 354 ..
-597 79 162 998 849 136 112 751 735 884 71 449 266 420 ..
-797 945 746 46 44 545 882 72 383 714 987 183 731 301 ..
-718 91 109 567 708 507 983 808 766 615 554 282 995 946 651 298;
-//Constraint 2
-509 883 229 569 706 639 114 727 491 481 681 948 687 941 ..
-350 253 573 40 124 384 660 951 739 329 146 593 658 816 ..
-638 717 779 289 430 851 937 289 159 260 930 248 656 833 ..
-892 60 278 741 297 967 86 249 354 614 836 290 893 857 ..
-158 869 206 504 799 758 431 580 780 788 583 641 32 653 ..
-252 709 129 368 440 314 287 854 460 594 512 239 719 751 ..
-708 670 269 832 137 356 960 651 398 893 407 477 552 805 881 850;
-//Constraint 3
-806 361 199 781 596 669 957 358 259 888 319 751 275 177 ..
-883 749 229 265 282 694 819 77 190 551 140 442 867 283 ..
-137 359 445 58 440 192 485 744 844 969 50 833 57 877 ..
-482 732 968 113 486 710 439 747 174 260 877 474 841 422 ..
-280 684 330 910 791 322 404 403 519 148 948 414 894 147 ..
-73 297 97 651 380 67 582 973 143 732 624 518 847 113 ..
-382 97 905 398 859 4 142 110 11 213 398 173 106 331 254 447 ;
-//Constraint 4
-404 197 817 1000 44 307 39 659 46 334 448 599 931 776 ..
-263 980 807 378 278 841 700 210 542 636 388 129 203 110 ..
-817 502 657 804 662 989 585 645 113 436 610 948 919 115 ..
-967 13 445 449 740 592 327 167 368 335 179 909 825 614 ..
-987 350 179 415 821 525 774 283 427 275 659 392 73 896 ..
-68 982 697 421 246 672 649 731 191 514 983 886 95 846 ..
-689 206 417 14 735 267 822 977 302 687 118 990 323 993 525 322;
-//Constrain 5
-475 36 287 577 45 700 803 654 196 844 657 387 518 143 ..
-515 335 942 701 332 803 265 922 908 139 995 845 487 100 ..
-447 653 649 738 424 475 425 926 795 47 136 801 904 740 ..
-768 460 76 660 500 915 897 25 716 557 72 696 653 933 ..
-420 582 810 861 758 647 237 631 271 91 75 756 409 440 ..
-483 336 765 637 981 980 202 35 594 689 602 76 767 693 ..
-893 160 785 311 417 748 375 362 617 553 474 915 457 261 350 635 ;
-];
-nbCon = size(A,1)
-nbVar = size(A,2)
-// Lower Bound of variables
-lb = repmat(0,nbVar,1)
-// Upper Bound of variables
-ub = repmat(1,nbVar,1)
-// Row Matrix for telling symphony that the is integer or not
-isInt = repmat(%t,1,nbVar)
-// Lower Bound of constraints
-conLB=repmat(0,nbCon,1);
-// Upper Bound of constraints
-conUB=[11927 13727 11551 13056 13460 ]';
-options = list("time_limit", 25);
-// The expected solution :
-// Output variables
-xopt = [0 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 ..
-0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 1 0 ..
-0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0]
-// Optimal value
-fopt = [ 24381 ]
-// Calling Symphony
-[x,f,status,output] = symphony(nbVar,nbCon,c,isInt,lb,ub,A,conLB,conUB,-1,options);
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << qpipoptmat - - - FOSSEE Optimization Toolbox - - - symphonymat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/symphony_call.html b/help/en_US/scilab_en_US_help/symphony_call.html deleted file mode 100644 index 2830c0c..0000000 --- a/help/en_US/scilab_en_US_help/symphony_call.html +++ /dev/null @@ -1,59 +0,0 @@ - - - symphony_call - - - -
- - - - -
- << symphony - - - Symphony Toolbox - - - symphony_mat >> - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox > symphony_call - -

-

symphony_call

-

-
- -
- - - - - - -
Report an issue
- << symphony - - - Symphony Toolbox - - - symphony_mat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/symphony_mat.html b/help/en_US/scilab_en_US_help/symphony_mat.html deleted file mode 100644 index 4f07aca..0000000 --- a/help/en_US/scilab_en_US_help/symphony_mat.html +++ /dev/null @@ -1,200 +0,0 @@ - - - symphony_mat - - - -
- - - - -
- << symphony - - - Symphony Toolbox - - - symphonymat >> - -
-
-
- - - - Symphony Toolbox >> Symphony Toolbox > symphony_mat - -

-

symphony_mat

-

Solves a mixed integer linear programming constrained optimization problem in intlinprog format.

- - -

Calling Sequence

-
xopt = symphony_mat(f,intcon,A,b)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq,lb,ub)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq,lb,ub,options)
-[xopt,fopt,status,output] = symphony_mat( ... )
- -

Parameters

-
f : -

a 1xn matrix of doubles, where n is number of variables, contains coefficients of the variables in the objective

-
intcon : -

Vector of integer constraints, specified as a vector of positive integers. The values in intcon indicate the components of the decision variable x that are integer-valued. intcon has values from 1 through number of variable

-
A : -

Linear inequality constraint matrix, specified as a matrix of doubles. A represents the linear coefficients in the constraints A*x т‰Є b. A has size M-by-N, where M is the number of constraints and N is number of variables

-
b : -

Linear inequality constraint vector, specified as a vector of doubles. b represents the constant vector in the constraints A*x т‰Є b. b has length M, where A is M-by-N

-
Aeq : -

Linear equality constraint matrix, specified as a matrix of doubles. Aeq represents the linear coefficients in the constraints Aeq*x = beq. Aeq has size Meq-by-N, where Meq is the number of constraints and N is number of variables

-
beq : -

Linear equality constraint vector, specified as a vector of doubles. beq represents the constant vector in the constraints Aeq*x = beq. beq has length Meq, where Aeq is Meq-by-N.

-
lb : -

Lower bounds, specified as a vector or array of doubles. lb represents the lower bounds elementwise in lb т‰Є x т‰Є ub.

-
ub : -

Upper bounds, specified as a vector or array of doubles. ub represents the upper bounds elementwise in lb т‰Є x т‰Є ub.

-
options : -

a 1xq marix of string, provided to set the paramters in symphony

-
xopt : -

a 1xn matrix of doubles, the computed solution of the optimization problem

-
fopt : -

a 1x1 matrix of doubles, the function value at x

-
output : -

The output data structure contains detailed informations about the optimization process.

- -

Description

-

Search the minimum or maximum of a constrained mixed integer linear programming optimization problem specified by : -find the minimum or maximum of f(x) such that

-

-

We are calling SYMPHONY written in C by gateway files for the actual computation. SYMPHONY was originally written by т€‹Ted Ralphs, т€‹Menal Guzelsoy and т€‹Ashutosh Mahajan.

-

- -

Examples

-
// Objective function
-c = [350*5,330*3,310*4,280*6,500,450,400,100]
-// Lower Bound of variable
-lb = repmat(0,1,8);
-// Upper Bound of variables
-ub = [repmat(1,1,4) repmat(%inf,1,4)];
-// Constraint Matrix
-Aeq = [5,3,4,6,1,1,1,1;
-5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;
-5*0.03,3*0.03,4*0.04,6*0.04,0.06,0.07,0.08,0.09;]
-beq = [ 25, 1.25, 1.25]
-intcon = [1 2 3 4];
-// Calling Symphony
-[x,f,iter] = symphony_mat(c,intcon,[],[],Aeq,beq,lb,ub);
- -

Examples

-
// An advanced case where we set some options in symphony
-// This problem is taken from
-// P.C.Chu and J.E.Beasley
-// "A genetic algorithm for the multidimensional knapsack problem",
-// Journal of Heuristics, vol. 4, 1998, pp63-86.
-// The problem to be solved is:
-// Max  sum{j=1,...,n} p(j)x(j)
-// st   sum{j=1,...,n} r(i,j)x(j) <= b(i)       i=1,...,m
-//                     x(j)=0 or 1
-// The function to be maximize i.e. P(j)
-objCoef = -1*[   504 803 667 1103 834 585 811 856 690 832 846 813 868 793 ..
-825 1002 860 615 540 797 616 660 707 866 647 746 1006 608 ..
-877 900 573 788 484 853 942 630 591 630 640 1169 932 1034 ..
-957 798 669 625 467 1051 552 717 654 388 559 555 1104 783 ..
-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 ..
-550 553 298 577 493 183 260 224 852 394 958 282 402 604 ..
-164 308 218 61 273 772 191 117 276 877 415 873 902 465 ..
-320 870 244 781 86 622 665 155 680 101 665 227 597 354 ..
-597 79 162 998 849 136 112 751 735 884 71 449 266 420 ..
-797 945 746 46 44 545 882 72 383 714 987 183 731 301 ..
-718 91 109 567 708 507 983 808 766 615 554 282 995 946 651 298;
-//Constraint 2
-509 883 229 569 706 639 114 727 491 481 681 948 687 941 ..
-350 253 573 40 124 384 660 951 739 329 146 593 658 816 ..
-638 717 779 289 430 851 937 289 159 260 930 248 656 833 ..
-892 60 278 741 297 967 86 249 354 614 836 290 893 857 ..
-158 869 206 504 799 758 431 580 780 788 583 641 32 653 ..
-252 709 129 368 440 314 287 854 460 594 512 239 719 751 ..
-708 670 269 832 137 356 960 651 398 893 407 477 552 805 881 850;
-//Constraint 3
-806 361 199 781 596 669 957 358 259 888 319 751 275 177 ..
-883 749 229 265 282 694 819 77 190 551 140 442 867 283 ..
-137 359 445 58 440 192 485 744 844 969 50 833 57 877 ..
-482 732 968 113 486 710 439 747 174 260 877 474 841 422 ..
-280 684 330 910 791 322 404 403 519 148 948 414 894 147 ..
-73 297 97 651 380 67 582 973 143 732 624 518 847 113 ..
-382 97 905 398 859 4 142 110 11 213 398 173 106 331 254 447 ;
-//Constraint 4
-404 197 817 1000 44 307 39 659 46 334 448 599 931 776 ..
-263 980 807 378 278 841 700 210 542 636 388 129 203 110 ..
-817 502 657 804 662 989 585 645 113 436 610 948 919 115 ..
-967 13 445 449 740 592 327 167 368 335 179 909 825 614 ..
-987 350 179 415 821 525 774 283 427 275 659 392 73 896 ..
-68 982 697 421 246 672 649 731 191 514 983 886 95 846 ..
-689 206 417 14 735 267 822 977 302 687 118 990 323 993 525 322;
-//Constrain 5
-475 36 287 577 45 700 803 654 196 844 657 387 518 143 ..
-515 335 942 701 332 803 265 922 908 139 995 845 487 100 ..
-447 653 649 738 424 475 425 926 795 47 136 801 904 740 ..
-768 460 76 660 500 915 897 25 716 557 72 696 653 933 ..
-420 582 810 861 758 647 237 631 271 91 75 756 409 440 ..
-483 336 765 637 981 980 202 35 594 689 602 76 767 693 ..
-893 160 785 311 417 748 375 362 617 553 474 915 457 261 350 635 ;
-];
-nbVar = size(objCoef,2)
-conUB=[11927 13727 11551 13056 13460 ];
-// Lower Bound of variables
-lb = repmat(0,1,nbVar)
-// Upper Bound of variables
-ub = repmat(1,1,nbVar)
-// Lower Bound of constrains
-intcon = []
-for i = 1:nbVar
-intcon = [intcon i];
-end
-// The expected solution :
-// Output variables
-xopt = [0 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 ..
-0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 ..
-0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0]
-// Optimal value
-fopt = [ 24381 ]
-// Calling Symphony
-[x,f,iter] = symphony_mat(objCoef,intcon,conMatrix,conUB,[],[],lb,ub);
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << symphony - - - Symphony Toolbox - - - symphonymat >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/symphony_mat.html~ b/help/en_US/scilab_en_US_help/symphony_mat.html~ deleted file mode 100644 index f3d56a4..0000000 --- a/help/en_US/scilab_en_US_help/symphony_mat.html~ +++ /dev/null @@ -1,197 +0,0 @@ - - - symphony_mat - - - -
- - - - -
- << symphony - - - Symphony - - - -
-
-
- - - - Symphony >> Symphony > symphony_mat - -

-

symphony_mat

-

Solves a mixed integer linear programming constrained optimization problem.

- - -

Calling Sequence

-
xopt = symphony_mat(f,intcon,A,b)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq,lb,ub)
-xopt = symphony_mat(f,intcon,A,b,Aeq,beq,lb,ub,options)
-[xopt,fopt,iter] = symphony_mat( ... )
- -

Parameters

-
f : -

a 1xn matrix of doubles, where n is number of variables, contains coefficients of the variables in the objective

-
intcon : -

Vector of integer constraints, specified as a vector of positive integers. The values in intcon indicate the components of the decision variable x that are integer-valued. intcon has values from 1 through number of variable

-
A : -

Linear inequality constraint matrix, specified as a matrix of doubles. A represents the linear coefficients in the constraints A*x т‰Є b. A has size M-by-N, where M is the number of constraints and N is number of variables

-
b : -

Linear inequality constraint vector, specified as a vector of doubles. b represents the constant vector in the constraints A*x т‰Є b. b has length M, where A is M-by-N

-
Aeq : -

Linear equality constraint matrix, specified as a matrix of doubles. Aeq represents the linear coefficients in the constraints Aeq*x = beq. Aeq has size Meq-by-N, where Meq is the number of constraints and N is number of variables

-
beq : -

Linear equality constraint vector, specified as a vector of doubles. beq represents the constant vector in the constraints Aeq*x = beq. beq has length Meq, where Aeq is Meq-by-N.

-
lb : -

Lower bounds, specified as a vector or array of doubles. lb represents the lower bounds elementwise in lb т‰Є x т‰Є ub.

-
ub : -

Upper bounds, specified as a vector or array of doubles. ub represents the upper bounds elementwise in lb т‰Є x т‰Є ub.

-
options : -

a 1xq marix of string, provided to set the paramters in symphony

-
xopt : -

a 1xn matrix of doubles, the computed solution of the optimization problem

-
fopt : -

a 1x1 matrix of doubles, the function value at x

-
iter : -

a 1x1 matrix of doubles, contains the number od iterations done by symphony

- -

Description

-

Search the minimum or maximum of a constrained mixed integer linear programming optimization problem specified by : -find the minimum or maximum of f(x) such that

-

-

- -

Examples

-
// Objective function
-c = [350*5,330*3,310*4,280*6,500,450,400,100]
-// Lower Bound of variable
-lb = repmat(0,1,8);
-// Upper Bound of variables
-ub = [repmat(1,1,4) repmat(%inf,1,4)];
-// Constraint Matrix
-Aeq = [5,3,4,6,1,1,1,1;
-5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;
-5*0.03,3*0.03,4*0.04,6*0.04,0.06,0.07,0.08,0.09;]
-beq = [ 25, 1.25, 1.25]
-intcon = [1 2 3 4];
-// Calling Symphony
-[x,f,iter] = symphony_mat(c,intcon,[],[],Aeq,beq,lb,ub);
- -

Examples

-
// An advanced case where we set some options in symphony
-// This problem is taken from
-// P.C.Chu and J.E.Beasley
-// "A genetic algorithm for the multidimensional knapsack problem",
-// Journal of Heuristics, vol. 4, 1998, pp63-86.
-// The problem to be solved is:
-// Max  sum{j=1,...,n} p(j)x(j)
-// st   sum{j=1,...,n} r(i,j)x(j) <= b(i)       i=1,...,m
-//                     x(j)=0 or 1
-// The function to be maximize i.e. P(j)
-objCoef = -1*[   504 803 667 1103 834 585 811 856 690 832 846 813 868 793 ..
-825 1002 860 615 540 797 616 660 707 866 647 746 1006 608 ..
-877 900 573 788 484 853 942 630 591 630 640 1169 932 1034 ..
-957 798 669 625 467 1051 552 717 654 388 559 555 1104 783 ..
-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 ..
-550 553 298 577 493 183 260 224 852 394 958 282 402 604 ..
-164 308 218 61 273 772 191 117 276 877 415 873 902 465 ..
-320 870 244 781 86 622 665 155 680 101 665 227 597 354 ..
-597 79 162 998 849 136 112 751 735 884 71 449 266 420 ..
-797 945 746 46 44 545 882 72 383 714 987 183 731 301 ..
-718 91 109 567 708 507 983 808 766 615 554 282 995 946 651 298;
-//Constraint 2
-509 883 229 569 706 639 114 727 491 481 681 948 687 941 ..
-350 253 573 40 124 384 660 951 739 329 146 593 658 816 ..
-638 717 779 289 430 851 937 289 159 260 930 248 656 833 ..
-892 60 278 741 297 967 86 249 354 614 836 290 893 857 ..
-158 869 206 504 799 758 431 580 780 788 583 641 32 653 ..
-252 709 129 368 440 314 287 854 460 594 512 239 719 751 ..
-708 670 269 832 137 356 960 651 398 893 407 477 552 805 881 850;
-//Constraint 3
-806 361 199 781 596 669 957 358 259 888 319 751 275 177 ..
-883 749 229 265 282 694 819 77 190 551 140 442 867 283 ..
-137 359 445 58 440 192 485 744 844 969 50 833 57 877 ..
-482 732 968 113 486 710 439 747 174 260 877 474 841 422 ..
-280 684 330 910 791 322 404 403 519 148 948 414 894 147 ..
-73 297 97 651 380 67 582 973 143 732 624 518 847 113 ..
-382 97 905 398 859 4 142 110 11 213 398 173 106 331 254 447 ;
-//Constraint 4
-404 197 817 1000 44 307 39 659 46 334 448 599 931 776 ..
-263 980 807 378 278 841 700 210 542 636 388 129 203 110 ..
-817 502 657 804 662 989 585 645 113 436 610 948 919 115 ..
-967 13 445 449 740 592 327 167 368 335 179 909 825 614 ..
-987 350 179 415 821 525 774 283 427 275 659 392 73 896 ..
-68 982 697 421 246 672 649 731 191 514 983 886 95 846 ..
-689 206 417 14 735 267 822 977 302 687 118 990 323 993 525 322;
-//Constrain 5
-475 36 287 577 45 700 803 654 196 844 657 387 518 143 ..
-515 335 942 701 332 803 265 922 908 139 995 845 487 100 ..
-447 653 649 738 424 475 425 926 795 47 136 801 904 740 ..
-768 460 76 660 500 915 897 25 716 557 72 696 653 933 ..
-420 582 810 861 758 647 237 631 271 91 75 756 409 440 ..
-483 336 765 637 981 980 202 35 594 689 602 76 767 693 ..
-893 160 785 311 417 748 375 362 617 553 474 915 457 261 350 635 ;
-];
-nbVar = size(objCoef,2)
-conUB=[11927 13727 11551 13056 13460 ];
-// Lower Bound of variables
-lb = repmat(0,1,nbVar)
-// Upper Bound of variables
-ub = repmat(1,1,nbVar)
-// Lower Bound of constrains
-intcon = []
-for i = 1:nbVar
-intcon = [intcon i];
-end
-// The expected solution :
-// Output variables
-xopt = [0 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 ..
-0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 ..
-0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0]
-// Optimal value
-fopt = [ 24381 ]
-// Calling Symphony
-[x,f,iter] = symphony_mat(objCoef,intcon,conMatrix,conUB,[],[],lb,ub);
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << symphony - - - Symphony - - - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/symphonymat.html b/help/en_US/scilab_en_US_help/symphonymat.html deleted file mode 100644 index 75edb56..0000000 --- a/help/en_US/scilab_en_US_help/symphonymat.html +++ /dev/null @@ -1,213 +0,0 @@ - - - symphonymat - - - -
- - - - -
- << symphony - - - FOSSEE Optimization Toolbox - - - Symphony Native Functions >> - -
-
-
- - - - FOSSEE Optimization Toolbox >> FOSSEE Optimization Toolbox > symphonymat - -

-

symphonymat

-

Solves a mixed integer linear programming constrained optimization problem in intlinprog format.

- - -

Calling Sequence

-
xopt = symphonymat(c,intcon,A,b)
-xopt = symphonymat(c,intcon,A,b,Aeq,beq)
-xopt = symphonymat(c,intcon,A,b,Aeq,beq,lb,ub)
-xopt = symphonymat(c,intcon,A,b,Aeq,beq,lb,ub,options)
-[xopt,fopt,status,output] = symphonymat( ... )
- -

Parameters

-
c : -

a vector of double, contains coefficients of the variables in the objective

-
intcon : -

Vector of integer constraints, specified as a vector of positive integers. The values in intcon indicate the components of the decision variable x that are integer-valued. intcon has values from 1 through number of variable.

-
A : -

a matrix of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
b : -

a vector of double, represents the linear coefficients in the inequality constraints Aт‹…x т‰Є b.

-
Aeq : -

a matrix of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
beq : -

a vector of double, represents the linear coefficients in the equality constraints Aeqт‹…x = beq.

-
lb : -

Lower bounds, specified as a vector or array of double. lb represents the lower bounds elementwise in lb т‰Є x т‰Є ub.

-
ub : -

Upper bounds, specified as a vector or array of double. ub represents the upper bounds elementwise in lb т‰Є x т‰Є ub.

-
options : -

a list containing the parameters to be set.

-
xopt : -

a vector of double, the computed solution of the optimization problem.

-
fopt : -

a double, the value of the function at x.

-
status : -

status flag returned from symphony. See below for details.

-
output : -

The output data structure contains detailed information about the optimization process. See below for details.

- -

Description

-

Search the minimum or maximum of a constrained mixed integer linear programming optimization problem specified by :

-

-

The routine calls SYMPHONY written in C by gateway files for the actual computation.

-

The status allows to know the status of the optimization which is given back by Ipopt. -

-

For more details on status see the symphony documentation, go to http://www.coin-or.org/SYMPHONY/man-5.6/

-

The output data structure contains detailed informations about the optimization process. -It has type "struct" and contains the following fields. -

-

- -

Examples

-
// Objective function
-// Reference: Westerberg, Carl-Henrik, Bengt Bjorklund, and Eskil Hultman. "An application of mixed integer programming in a Swedish steel mill." Interfaces 7, no. 2 (1977): 39-43.
-c = [350*5,330*3,310*4,280*6,500,450,400,100]';
-// Lower Bound of variable
-lb = repmat(0,1,8);
-// Upper Bound of variables
-ub = [repmat(1,1,4) repmat(%inf,1,4)];
-// Constraint Matrix
-Aeq = [5,3,4,6,1,1,1,1;
-5*0.05,3*0.04,4*0.05,6*0.03,0.08,0.07,0.06,0.03;
-5*0.03,3*0.03,4*0.04,6*0.04,0.06,0.07,0.08,0.09;]
-beq = [ 25, 1.25, 1.25]
-intcon = [1 2 3 4];
-// Calling Symphony
-[x,f,status,output] = symphonymat(c,intcon,[],[],Aeq,beq,lb,ub)
-// Press ENTER to continue
- -

Examples

-
// An advanced case where we set some options in symphony
-// This problem is taken from
-// P.C.Chu and J.E.Beasley
-// "A genetic algorithm for the multidimensional knapsack problem",
-// Journal of Heuristics, vol. 4, 1998, pp63-86.
-// The problem to be solved is:
-// Max  sum{j=1,...,n} p(j)x(j)
-// st   sum{j=1,...,n} r(i,j)x(j) <= b(i)       i=1,...,m
-//                     x(j)=0 or 1
-// The function to be maximize i.e. P(j)
-c = -1*[   504 803 667 1103 834 585 811 856 690 832 846 813 868 793 ..
-825 1002 860 615 540 797 616 660 707 866 647 746 1006 608 ..
-877 900 573 788 484 853 942 630 591 630 640 1169 932 1034 ..
-957 798 669 625 467 1051 552 717 654 388 559 555 1104 783 ..
-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
-A = [   //Constraint 1
-42 41 523 215 819 551 69 193 582 375 367 478 162 898 ..
-550 553 298 577 493 183 260 224 852 394 958 282 402 604 ..
-164 308 218 61 273 772 191 117 276 877 415 873 902 465 ..
-320 870 244 781 86 622 665 155 680 101 665 227 597 354 ..
-597 79 162 998 849 136 112 751 735 884 71 449 266 420 ..
-797 945 746 46 44 545 882 72 383 714 987 183 731 301 ..
-718 91 109 567 708 507 983 808 766 615 554 282 995 946 651 298;
-//Constraint 2
-509 883 229 569 706 639 114 727 491 481 681 948 687 941 ..
-350 253 573 40 124 384 660 951 739 329 146 593 658 816 ..
-638 717 779 289 430 851 937 289 159 260 930 248 656 833 ..
-892 60 278 741 297 967 86 249 354 614 836 290 893 857 ..
-158 869 206 504 799 758 431 580 780 788 583 641 32 653 ..
-252 709 129 368 440 314 287 854 460 594 512 239 719 751 ..
-708 670 269 832 137 356 960 651 398 893 407 477 552 805 881 850;
-//Constraint 3
-806 361 199 781 596 669 957 358 259 888 319 751 275 177 ..
-883 749 229 265 282 694 819 77 190 551 140 442 867 283 ..
-137 359 445 58 440 192 485 744 844 969 50 833 57 877 ..
-482 732 968 113 486 710 439 747 174 260 877 474 841 422 ..
-280 684 330 910 791 322 404 403 519 148 948 414 894 147 ..
-73 297 97 651 380 67 582 973 143 732 624 518 847 113 ..
-382 97 905 398 859 4 142 110 11 213 398 173 106 331 254 447 ;
-//Constraint 4
-404 197 817 1000 44 307 39 659 46 334 448 599 931 776 ..
-263 980 807 378 278 841 700 210 542 636 388 129 203 110 ..
-817 502 657 804 662 989 585 645 113 436 610 948 919 115 ..
-967 13 445 449 740 592 327 167 368 335 179 909 825 614 ..
-987 350 179 415 821 525 774 283 427 275 659 392 73 896 ..
-68 982 697 421 246 672 649 731 191 514 983 886 95 846 ..
-689 206 417 14 735 267 822 977 302 687 118 990 323 993 525 322;
-//Constrain 5
-475 36 287 577 45 700 803 654 196 844 657 387 518 143 ..
-515 335 942 701 332 803 265 922 908 139 995 845 487 100 ..
-447 653 649 738 424 475 425 926 795 47 136 801 904 740 ..
-768 460 76 660 500 915 897 25 716 557 72 696 653 933 ..
-420 582 810 861 758 647 237 631 271 91 75 756 409 440 ..
-483 336 765 637 981 980 202 35 594 689 602 76 767 693 ..
-893 160 785 311 417 748 375 362 617 553 474 915 457 261 350 635 ;
-];
-nbVar = size(c,1)
-b=[11927 13727 11551 13056 13460 ];
-// Lower Bound of variables
-lb = repmat(0,1,nbVar)
-// Upper Bound of variables
-ub = repmat(1,1,nbVar)
-// Lower Bound of constrains
-intcon = [];
-for i = 1:nbVar
-intcon = [intcon i];
-end
-options = list("time_limit", 25);
-// The expected solution :
-// Output variables
-xopt = [0 1 1 0 0 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 1 0 1 1 0 1 ..
-0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 1 ..
-0 0 1 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 1 0 0 1 0]
-// Optimal value
-fopt = [ 24381 ]
-// Calling Symphony
-[x,f,status,output] = symphonymat(c,intcon,A,b,[],[],lb,ub,options);
- -

Authors

-
-
- -
- - - - - - -
Report an issue
- << symphony - - - FOSSEE Optimization Toolbox - - - Symphony Native Functions >> - -
-
-
- - diff --git a/help/en_US/scilab_en_US_help/xml_code.css b/help/en_US/scilab_en_US_help/xml_code.css deleted file mode 100644 index 9e4c27f..0000000 --- a/help/en_US/scilab_en_US_help/xml_code.css +++ /dev/null @@ -1,94 +0,0 @@ -.xmlcomment { - font-style: italic; - color: #01a801 -} - -.xmldefault { - font-style: normal; - color: #000000 -} - -.xmlentity { - font-style: normal; - color: #ffaa00 -} - -.xmlopeninstr { - font-style: normal; - color: #000000 -} - -.xmlcloseinstr { - font-style: normal; - color: #000000 -} - -.xmlinstrname { - font-style: normal; - color: #9965a6 -} - -.xmllowtag { - font-style: normal; - color: #000000 -} - -.xmltagname { - font-style: normal; - color: #0303ff -} - -.xmllowclose { - font-style: normal; - color: #000000 -} - -.xmlopencomment { - font-style: italic; - color: #01a801 -} - -.xmlcommentend { - font-style: italic; - color: #01a801 -} - -.xmlcomment { - font-style: italic; - color: #01a801 -} - -.xmlopencdata { - font-style: normal; - color: #c45555 -} - -.xmlcdataend { - font-style: normal; - color: #c45555 -} - -.xmlcdata { - font-style: normal; - color: #000000 -} - -.xmlattributename { - font-style: normal; - color: #9965a6 -} - -.xmlequal { - font-style: normal; - color: #000000 -} - -.xmlattributevalue { - font-style: normal; - color: #973964 -} - -.xmlautoclose { - font-style: normal; - color: #000000 -} diff --git a/jar/README.rst b/jar/README.rst deleted file mode 100644 index ba5bc56..0000000 --- a/jar/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -Help JAR -======== - -This is automatically generated file by the xml files. - diff --git a/jar/scilab_en_US_help.jar b/jar/scilab_en_US_help.jar deleted file mode 100644 index e241e4c..0000000 Binary files a/jar/scilab_en_US_help.jar and /dev/null differ diff --git a/loader.sce b/loader.sce deleted file mode 100644 index 573167b..0000000 --- a/loader.sce +++ /dev/null @@ -1,10 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce: Please, do not edit this file - -try - getversion("scilab"); -catch - error("Scilab 5.0 or more is required."); -end; - -exec(get_absolute_file_path("loader.sce")+"etc/"+"FOSSEE_Optimization_Toolbox.start"); diff --git a/macros/Checkdims.bin b/macros/Checkdims.bin deleted file mode 100644 index 40e385a..0000000 Binary files a/macros/Checkdims.bin and /dev/null differ diff --git a/macros/Checklhs.bin b/macros/Checklhs.bin deleted file mode 100644 index 7156107..0000000 Binary files a/macros/Checklhs.bin and /dev/null differ diff --git a/macros/Checkrhs.bin b/macros/Checkrhs.bin deleted file mode 100644 index 2c45876..0000000 Binary files a/macros/Checkrhs.bin and /dev/null differ diff --git a/macros/Checktype.bin b/macros/Checktype.bin deleted file mode 100644 index bbe1585..0000000 Binary files a/macros/Checktype.bin and /dev/null differ diff --git a/macros/Checkvector.bin b/macros/Checkvector.bin deleted file mode 100644 index dfe03ab..0000000 Binary files a/macros/Checkvector.bin and /dev/null differ diff --git a/macros/cleanmacros.sce b/macros/cleanmacros.sce new file mode 100644 index 0000000..a6428b2 --- /dev/null +++ b/macros/cleanmacros.sce @@ -0,0 +1,20 @@ +// ==================================================================== +// This file is released under the 3-clause BSD license. See COPYING-BSD. +// ==================================================================== +function cleanmacros() + + libpath = get_absolute_file_path("cleanmacros.sce"); + + binfiles = ls(libpath+"/*.bin"); + for i = 1:size(binfiles,"*") + mdelete(binfiles(i)); + end + + mdelete(libpath+"/names"); + mdelete(libpath+"/lib"); +endfunction + +cleanmacros(); +clear cleanmacros; // remove cleanmacros on stack + +// ==================================================================== diff --git a/macros/fgoalattain.bin b/macros/fgoalattain.bin deleted file mode 100644 index 4889336..0000000 Binary files a/macros/fgoalattain.bin and /dev/null differ diff --git a/macros/fgoalattain.sci b/macros/fgoalattain.sci index 41c0fcc..137b4e3 100644 --- a/macros/fgoalattain.sci +++ b/macros/fgoalattain.sci @@ -176,7 +176,6 @@ function [x,fval,attainfactor,exitflag,output,lambda] = fgoalattain(varargin) Checktype("fgoalattain", gattainStartpoint, "x0", 2, "constant") gattainNumvar = size(gattainStartpoint,"*") - Checkvector("fgoalattain", gattainStartpoint, "x0", 2, gattainNumvar) gattainStartpoint = gattainStartpoint(:) // initialisation of goal diff --git a/macros/fminbnd.bin b/macros/fminbnd.bin deleted file mode 100644 index 97b00fc..0000000 Binary files a/macros/fminbnd.bin and /dev/null differ diff --git a/macros/fmincon.bin b/macros/fmincon.bin deleted file mode 100644 index e1785a4..0000000 Binary files a/macros/fmincon.bin and /dev/null differ diff --git a/macros/fmincon.sci b/macros/fmincon.sci index 49adec5..2393649 100644 --- a/macros/fmincon.sci +++ b/macros/fmincon.sci @@ -268,15 +268,10 @@ function [xopt,fopt,exitflag,output,lambda,gradient,hessian] = fmincon (varargin [lhs , rhs] = argn(); //To check the number of arguments given by the user - if ( rhs<4 | rhs>13 ) then - errmsg = msprintf(gettext("%s: Unexpected number of input arguments : %d provided while it should be 4,6,8,9,10,11,12,13"), "fmincon", rhs); + if ( rhs<4 | rhs==5 | rhs==7 | rhs>10 ) then + errmsg = msprintf(gettext("%s: Unexpected number of input arguments : %d provided while it should be 4,6,8,9,10"), "fmincon", rhs); error(errmsg) end - - if (rhs==5 | rhs==7) then - errmsg = msprintf(gettext("%s: Unexpected number of input arguments : %d provided while it should be 4,6,8,9,10,11,12,13"), "fmincon", rhs); - error(errmsg) - end //Storing the Input Parameters fun = varargin(1); @@ -862,7 +857,7 @@ function [xopt,fopt,exitflag,output,lambda,gradient,hessian] = fmincon (varargin lambda.ineqlin (j) = lambda1(i) j= j+1; end - lambda.ineqlin = lambda.ineqlin' + lambda.ineqlin = lambda.ineqlin'; end //Converting hessian of order (1 x (numberOfVariables)^2) received from Ipopt to order (numberOfVariables x numberOfVariables) @@ -924,5 +919,4 @@ function [xopt,fopt,exitflag,output,lambda,gradient,hessian] = fmincon (varargin break; end - endfunction diff --git a/macros/fminimax.bin b/macros/fminimax.bin deleted file mode 100644 index 8a8a8a4..0000000 Binary files a/macros/fminimax.bin and /dev/null differ diff --git a/macros/fminunc.bin b/macros/fminunc.bin deleted file mode 100644 index aa82fc3..0000000 Binary files a/macros/fminunc.bin and /dev/null differ diff --git a/macros/lib b/macros/lib deleted file mode 100644 index f7602af..0000000 Binary files a/macros/lib and /dev/null differ diff --git a/macros/linprog.bin b/macros/linprog.bin deleted file mode 100644 index 1d3a5aa..0000000 Binary files a/macros/linprog.bin and /dev/null differ diff --git a/macros/lsqlin.bin b/macros/lsqlin.bin deleted file mode 100644 index 7baf7be..0000000 Binary files a/macros/lsqlin.bin and /dev/null differ diff --git a/macros/lsqnonneg.bin b/macros/lsqnonneg.bin deleted file mode 100644 index 32620d0..0000000 Binary files a/macros/lsqnonneg.bin and /dev/null differ diff --git a/macros/matrix_linprog.bin b/macros/matrix_linprog.bin deleted file mode 100644 index e3a9db3..0000000 Binary files a/macros/matrix_linprog.bin and /dev/null differ diff --git a/macros/mps_linprog.bin b/macros/mps_linprog.bin deleted file mode 100644 index c0d2e3e..0000000 Binary files a/macros/mps_linprog.bin and /dev/null differ diff --git a/macros/names b/macros/names deleted file mode 100644 index bff51fe..0000000 --- a/macros/names +++ /dev/null @@ -1,21 +0,0 @@ -Checkdims -Checklhs -Checkrhs -Checktype -Checkvector -fgoalattain -fminbnd -fmincon -fminimax -fminunc -linprog -lsqlin -lsqnonneg -matrix_linprog -mps_linprog -qpipopt -qpipoptmat -setOptions -symphony -symphony_call -symphonymat diff --git a/macros/qpipopt.bin b/macros/qpipopt.bin deleted file mode 100644 index e2ba3de..0000000 Binary files a/macros/qpipopt.bin and /dev/null differ diff --git a/macros/qpipoptmat.bin b/macros/qpipoptmat.bin deleted file mode 100644 index 057fa29..0000000 Binary files a/macros/qpipoptmat.bin and /dev/null differ diff --git a/macros/qpipoptmat.sci b/macros/qpipoptmat.sci index e64a83a..41ec8e7 100644 --- a/macros/qpipoptmat.sci +++ b/macros/qpipoptmat.sci @@ -206,11 +206,6 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin) f = repmat(0,nbVar,1); end - if (type(param) ~= 15) then - errmsg = msprintf(gettext("%s: param should be a list "), "qpipoptmat"); - error(errmsg); - end - if (modulo(size(param),2)) then errmsg = msprintf(gettext("%s: Size of parameters should be even"), "qpipoptmat"); error(errmsg); @@ -226,11 +221,10 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin) Checktype("qpipoptmat", lb, "lb", 7, "constant") Checktype("qpipoptmat", ub, "ub", 8, "constant") Checktype("qpipoptmat", x0, "x0", 9, "constant") + Checktype("qpipoptmat", param, "param", 10, "list") - options = list(.. - "MaxIter" , [3000], ... - "CpuTime" , [600] ... - ); + options = list("MaxIter" , [3000], ... + "CpuTime" , [600]); for i = 1:(size(param))/2 @@ -299,7 +293,6 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin) error(errmsg); end - //Check the size of Lower Bound which should be equal to the number of variables if ( size(lb,1) ~= nbVar) then errmsg = msprintf(gettext("%s: The Lower Bound is not equal to the number of variables"), "qpipoptmat"); @@ -314,7 +307,7 @@ function [xopt,fopt,exitflag,output,lambda] = qpipoptmat (varargin) //Check the size of constraints of Lower Bound which should equal to the number of constraints if ( size(b,1) ~= nbConInEq & size(b,1) ~= 0) then - errmsg = msprintf(gettext("%s: The number of rows in A must be the same as the number of elementsof b"), "qpipoptmat"); + errmsg = msprintf(gettext("%s: The number of rows in A must be the same as the number of elements of b"), "qpipoptmat"); error(errmsg); end diff --git a/macros/setOptions.bin b/macros/setOptions.bin deleted file mode 100644 index 8d23e73..0000000 Binary files a/macros/setOptions.bin and /dev/null differ diff --git a/macros/symphony.bin b/macros/symphony.bin deleted file mode 100644 index 2c3a43a..0000000 Binary files a/macros/symphony.bin and /dev/null differ diff --git a/macros/symphony_call.bin b/macros/symphony_call.bin deleted file mode 100644 index 5e0d5e1..0000000 Binary files a/macros/symphony_call.bin and /dev/null differ diff --git a/macros/symphonymat.bin b/macros/symphonymat.bin deleted file mode 100644 index 7dffa2f..0000000 Binary files a/macros/symphonymat.bin and /dev/null differ diff --git a/sci_gateway/cpp/libFAMOS.c b/sci_gateway/cpp/libFAMOS.c deleted file mode 100644 index d7911de..0000000 --- a/sci_gateway/cpp/libFAMOS.c +++ /dev/null @@ -1,156 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -#include -#include -#include -#include -static int direct_gateway(char *fname,void F(void)) { F();return 0;}; -extern Gatefunc sci_sym_open; -extern Gatefunc sci_sym_close; -extern Gatefunc sci_sym_isEnvActive; -extern Gatefunc sci_sym_set_defaults; -extern Gatefunc sci_sym_set_int_param; -extern Gatefunc sci_sym_get_int_param; -extern Gatefunc sci_sym_set_dbl_param; -extern Gatefunc sci_sym_get_dbl_param; -extern Gatefunc sci_sym_set_str_param; -extern Gatefunc sci_sym_get_str_param; -extern Gatefunc sci_sym_getInfinity; -extern Gatefunc sci_sym_loadProblemBasic; -extern Gatefunc sci_sym_loadProblem; -extern Gatefunc sci_sym_load_mps; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_isContinuous; -extern Gatefunc sci_sym_isBinary; -extern Gatefunc sci_sym_isInteger; -extern Gatefunc sci_sym_set_continuous; -extern Gatefunc sci_sym_set_integer; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setVarBound; -extern Gatefunc sci_sym_setVarBound; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setObjCoeff; -extern Gatefunc sci_sym_getObjSense; -extern Gatefunc sci_sym_setObjSense; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setConstrBound; -extern Gatefunc sci_sym_setConstrBound; -extern Gatefunc sci_sym_setConstrType; -extern Gatefunc sci_sym_get_matrix; -extern Gatefunc sci_sym_get_row_sense; -extern Gatefunc sci_sym_addConstr; -extern Gatefunc sci_sym_addVar; -extern Gatefunc sci_sym_delete_cols; -extern Gatefunc sci_sym_delete_rows; -extern Gatefunc sci_sym_getPrimalBound; -extern Gatefunc sci_sym_setPrimalBound; -extern Gatefunc sci_sym_setColSoln; -extern Gatefunc sci_sym_solve; -extern Gatefunc sci_sym_get_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_getVarSoln; -extern Gatefunc sci_sym_getObjVal; -extern Gatefunc sci_sym_get_iteration_count; -extern Gatefunc sci_sym_getRowActivity; -extern Gatefunc sci_linearprog; -extern Gatefunc sci_rmps; -extern Gatefunc sci_solveqp; -extern Gatefunc sci_solveminuncp; -extern Gatefunc sci_solveminbndp; -extern Gatefunc sci_solveminconp; -static GenericTable Tab[]={ - {(Myinterfun)sci_gateway,sci_sym_open,"sym_open"}, - {(Myinterfun)sci_gateway,sci_sym_close,"sym_close"}, - {(Myinterfun)sci_gateway,sci_sym_isEnvActive,"sym_isEnvActive"}, - {(Myinterfun)sci_gateway,sci_sym_set_defaults,"sym_resetParams"}, - {(Myinterfun)sci_gateway,sci_sym_set_int_param,"sym_setIntParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_int_param,"sym_getIntParam"}, - {(Myinterfun)sci_gateway,sci_sym_set_dbl_param,"sym_setDblParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_param,"sym_getDblParam"}, - {(Myinterfun)sci_gateway,sci_sym_set_str_param,"sym_setStrParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_str_param,"sym_getStrParam"}, - {(Myinterfun)sci_gateway,sci_sym_getInfinity,"sym_getInfinity"}, - {(Myinterfun)sci_gateway,sci_sym_loadProblemBasic,"sym_loadProblemBasic"}, - {(Myinterfun)sci_gateway,sci_sym_loadProblem,"sym_loadProblem"}, - {(Myinterfun)sci_gateway,sci_sym_load_mps,"sym_loadMPS"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumConstr"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumVar"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumElements"}, - {(Myinterfun)sci_gateway,sci_sym_isContinuous,"sym_isContinuous"}, - {(Myinterfun)sci_gateway,sci_sym_isBinary,"sym_isBinary"}, - {(Myinterfun)sci_gateway,sci_sym_isInteger,"sym_isInteger"}, - {(Myinterfun)sci_gateway,sci_sym_set_continuous,"sym_setContinuous"}, - {(Myinterfun)sci_gateway,sci_sym_set_integer,"sym_setInteger"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getVarLower"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getVarUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setVarBound,"sym_setVarLower"}, - {(Myinterfun)sci_gateway,sci_sym_setVarBound,"sym_setVarUpper"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getObjCoeff"}, - {(Myinterfun)sci_gateway,sci_sym_setObjCoeff,"sym_setObjCoeff"}, - {(Myinterfun)sci_gateway,sci_sym_getObjSense,"sym_getObjSense"}, - {(Myinterfun)sci_gateway,sci_sym_setObjSense,"sym_setObjSense"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getRhs"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrRange"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrLower"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrBound,"sym_setConstrLower"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrBound,"sym_setConstrUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrType,"sym_setConstrType"}, - {(Myinterfun)sci_gateway,sci_sym_get_matrix,"sym_getMatrix"}, - {(Myinterfun)sci_gateway,sci_sym_get_row_sense,"sym_getConstrSense"}, - {(Myinterfun)sci_gateway,sci_sym_addConstr,"sym_addConstr"}, - {(Myinterfun)sci_gateway,sci_sym_addVar,"sym_addVar"}, - {(Myinterfun)sci_gateway,sci_sym_delete_cols,"sym_deleteVars"}, - {(Myinterfun)sci_gateway,sci_sym_delete_rows,"sym_deleteConstrs"}, - {(Myinterfun)sci_gateway,sci_sym_getPrimalBound,"sym_getPrimalBound"}, - {(Myinterfun)sci_gateway,sci_sym_setPrimalBound,"sym_setPrimalBound"}, - {(Myinterfun)sci_gateway,sci_sym_setColSoln,"sym_setVarSoln"}, - {(Myinterfun)sci_gateway,sci_sym_solve,"sym_solve"}, - {(Myinterfun)sci_gateway,sci_sym_get_status,"sym_getStatus"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isOptimal"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isInfeasible"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isAbandoned"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isIterLimitReached"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isTimeLimitReached"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isTargetGapAchieved"}, - {(Myinterfun)sci_gateway,sci_sym_getVarSoln,"sym_getVarSoln"}, - {(Myinterfun)sci_gateway,sci_sym_getObjVal,"sym_getObjVal"}, - {(Myinterfun)sci_gateway,sci_sym_get_iteration_count,"sym_getIterCount"}, - {(Myinterfun)sci_gateway,sci_sym_getRowActivity,"sym_getConstrActivity"}, - {(Myinterfun)sci_gateway,sci_linearprog,"linearprog"}, - {(Myinterfun)sci_gateway,sci_rmps,"rmps"}, - {(Myinterfun)sci_gateway,sci_solveqp,"solveqp"}, - {(Myinterfun)sci_gateway,sci_solveminuncp,"solveminuncp"}, - {(Myinterfun)sci_gateway,sci_solveminbndp,"solveminbndp"}, - {(Myinterfun)sci_gateway,sci_solveminconp,"solveminconp"}, -}; - -int C2F(libFAMOS)() -{ - Rhs = Max(0, Rhs); - if (*(Tab[Fin-1].f) != NULL) - { - if(pvApiCtx == NULL) - { - pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); - } - pvApiCtx->pstName = (char*)Tab[Fin-1].name; - (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F); - } - return 0; -} -#ifdef __cplusplus -} -#endif diff --git a/sci_gateway/cpp/libFAMOS.so b/sci_gateway/cpp/libFAMOS.so deleted file mode 100755 index c8462c6..0000000 Binary files a/sci_gateway/cpp/libFAMOS.so and /dev/null differ diff --git a/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.c b/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.c deleted file mode 100644 index cd53066..0000000 --- a/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.c +++ /dev/null @@ -1,156 +0,0 @@ -#ifdef __cplusplus -extern "C" { -#endif -#include -#include -#include -#include -static int direct_gateway(char *fname,void F(void)) { F();return 0;}; -extern Gatefunc sci_sym_open; -extern Gatefunc sci_sym_close; -extern Gatefunc sci_sym_isEnvActive; -extern Gatefunc sci_sym_set_defaults; -extern Gatefunc sci_sym_set_int_param; -extern Gatefunc sci_sym_get_int_param; -extern Gatefunc sci_sym_set_dbl_param; -extern Gatefunc sci_sym_get_dbl_param; -extern Gatefunc sci_sym_set_str_param; -extern Gatefunc sci_sym_get_str_param; -extern Gatefunc sci_sym_getInfinity; -extern Gatefunc sci_sym_loadProblemBasic; -extern Gatefunc sci_sym_loadProblem; -extern Gatefunc sci_sym_load_mps; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_get_num_int; -extern Gatefunc sci_sym_isContinuous; -extern Gatefunc sci_sym_isBinary; -extern Gatefunc sci_sym_isInteger; -extern Gatefunc sci_sym_set_continuous; -extern Gatefunc sci_sym_set_integer; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setVarBound; -extern Gatefunc sci_sym_setVarBound; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setObjCoeff; -extern Gatefunc sci_sym_getObjSense; -extern Gatefunc sci_sym_setObjSense; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_get_dbl_arr; -extern Gatefunc sci_sym_setConstrBound; -extern Gatefunc sci_sym_setConstrBound; -extern Gatefunc sci_sym_setConstrType; -extern Gatefunc sci_sym_get_matrix; -extern Gatefunc sci_sym_get_row_sense; -extern Gatefunc sci_sym_addConstr; -extern Gatefunc sci_sym_addVar; -extern Gatefunc sci_sym_delete_cols; -extern Gatefunc sci_sym_delete_rows; -extern Gatefunc sci_sym_getPrimalBound; -extern Gatefunc sci_sym_setPrimalBound; -extern Gatefunc sci_sym_setColSoln; -extern Gatefunc sci_sym_solve; -extern Gatefunc sci_sym_get_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_get_solver_status; -extern Gatefunc sci_sym_getVarSoln; -extern Gatefunc sci_sym_getObjVal; -extern Gatefunc sci_sym_get_iteration_count; -extern Gatefunc sci_sym_getRowActivity; -extern Gatefunc sci_linearprog; -extern Gatefunc sci_rmps; -extern Gatefunc sci_solveqp; -extern Gatefunc sci_solveminuncp; -extern Gatefunc sci_solveminbndp; -extern Gatefunc sci_solveminconp; -static GenericTable Tab[]={ - {(Myinterfun)sci_gateway,sci_sym_open,"sym_open"}, - {(Myinterfun)sci_gateway,sci_sym_close,"sym_close"}, - {(Myinterfun)sci_gateway,sci_sym_isEnvActive,"sym_isEnvActive"}, - {(Myinterfun)sci_gateway,sci_sym_set_defaults,"sym_resetParams"}, - {(Myinterfun)sci_gateway,sci_sym_set_int_param,"sym_setIntParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_int_param,"sym_getIntParam"}, - {(Myinterfun)sci_gateway,sci_sym_set_dbl_param,"sym_setDblParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_param,"sym_getDblParam"}, - {(Myinterfun)sci_gateway,sci_sym_set_str_param,"sym_setStrParam"}, - {(Myinterfun)sci_gateway,sci_sym_get_str_param,"sym_getStrParam"}, - {(Myinterfun)sci_gateway,sci_sym_getInfinity,"sym_getInfinity"}, - {(Myinterfun)sci_gateway,sci_sym_loadProblemBasic,"sym_loadProblemBasic"}, - {(Myinterfun)sci_gateway,sci_sym_loadProblem,"sym_loadProblem"}, - {(Myinterfun)sci_gateway,sci_sym_load_mps,"sym_loadMPS"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumConstr"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumVar"}, - {(Myinterfun)sci_gateway,sci_sym_get_num_int,"sym_getNumElements"}, - {(Myinterfun)sci_gateway,sci_sym_isContinuous,"sym_isContinuous"}, - {(Myinterfun)sci_gateway,sci_sym_isBinary,"sym_isBinary"}, - {(Myinterfun)sci_gateway,sci_sym_isInteger,"sym_isInteger"}, - {(Myinterfun)sci_gateway,sci_sym_set_continuous,"sym_setContinuous"}, - {(Myinterfun)sci_gateway,sci_sym_set_integer,"sym_setInteger"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getVarLower"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getVarUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setVarBound,"sym_setVarLower"}, - {(Myinterfun)sci_gateway,sci_sym_setVarBound,"sym_setVarUpper"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getObjCoeff"}, - {(Myinterfun)sci_gateway,sci_sym_setObjCoeff,"sym_setObjCoeff"}, - {(Myinterfun)sci_gateway,sci_sym_getObjSense,"sym_getObjSense"}, - {(Myinterfun)sci_gateway,sci_sym_setObjSense,"sym_setObjSense"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getRhs"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrRange"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrLower"}, - {(Myinterfun)sci_gateway,sci_sym_get_dbl_arr,"sym_getConstrUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrBound,"sym_setConstrLower"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrBound,"sym_setConstrUpper"}, - {(Myinterfun)sci_gateway,sci_sym_setConstrType,"sym_setConstrType"}, - {(Myinterfun)sci_gateway,sci_sym_get_matrix,"sym_getMatrix"}, - {(Myinterfun)sci_gateway,sci_sym_get_row_sense,"sym_getConstrSense"}, - {(Myinterfun)sci_gateway,sci_sym_addConstr,"sym_addConstr"}, - {(Myinterfun)sci_gateway,sci_sym_addVar,"sym_addVar"}, - {(Myinterfun)sci_gateway,sci_sym_delete_cols,"sym_deleteVars"}, - {(Myinterfun)sci_gateway,sci_sym_delete_rows,"sym_deleteConstrs"}, - {(Myinterfun)sci_gateway,sci_sym_getPrimalBound,"sym_getPrimalBound"}, - {(Myinterfun)sci_gateway,sci_sym_setPrimalBound,"sym_setPrimalBound"}, - {(Myinterfun)sci_gateway,sci_sym_setColSoln,"sym_setVarSoln"}, - {(Myinterfun)sci_gateway,sci_sym_solve,"sym_solve"}, - {(Myinterfun)sci_gateway,sci_sym_get_status,"sym_getStatus"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isOptimal"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isInfeasible"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isAbandoned"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isIterLimitReached"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isTimeLimitReached"}, - {(Myinterfun)sci_gateway,sci_sym_get_solver_status,"sym_isTargetGapAchieved"}, - {(Myinterfun)sci_gateway,sci_sym_getVarSoln,"sym_getVarSoln"}, - {(Myinterfun)sci_gateway,sci_sym_getObjVal,"sym_getObjVal"}, - {(Myinterfun)sci_gateway,sci_sym_get_iteration_count,"sym_getIterCount"}, - {(Myinterfun)sci_gateway,sci_sym_getRowActivity,"sym_getConstrActivity"}, - {(Myinterfun)sci_gateway,sci_linearprog,"linearprog"}, - {(Myinterfun)sci_gateway,sci_rmps,"rmps"}, - {(Myinterfun)sci_gateway,sci_solveqp,"solveqp"}, - {(Myinterfun)sci_gateway,sci_solveminuncp,"solveminuncp"}, - {(Myinterfun)sci_gateway,sci_solveminbndp,"solveminbndp"}, - {(Myinterfun)sci_gateway,sci_solveminconp,"solveminconp"}, -}; - -int C2F(libFOSSEE_Optimization_Toolbox)() -{ - Rhs = Max(0, Rhs); - if (*(Tab[Fin-1].f) != NULL) - { - if(pvApiCtx == NULL) - { - pvApiCtx = (StrCtx*)MALLOC(sizeof(StrCtx)); - } - pvApiCtx->pstName = (char*)Tab[Fin-1].name; - (*(Tab[Fin-1].f))(Tab[Fin-1].name,Tab[Fin-1].F); - } - return 0; -} -#ifdef __cplusplus -} -#endif diff --git a/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.so b/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.so deleted file mode 100755 index 3cf9d8a..0000000 Binary files a/sci_gateway/cpp/libFOSSEE_Optimization_Toolbox.so and /dev/null differ diff --git a/sci_gateway/cpp/loader.sce b/sci_gateway/cpp/loader.sce deleted file mode 100644 index 1ec953f..0000000 --- a/sci_gateway/cpp/loader.sce +++ /dev/null @@ -1,84 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce : Please, do not edit this file -// ---------------------------------------------------------------------------- -// -libFOSSEE_Optimizat_path = get_absolute_file_path('loader.sce'); -// -// ulink previous function with same name -[bOK, ilib] = c_link('libFOSSEE_Optimization_Toolbox'); -if bOK then - ulink(ilib); -end -// -list_functions = [ 'sym_open'; - 'sym_close'; - 'sym_isEnvActive'; - 'sym_resetParams'; - 'sym_setIntParam'; - 'sym_getIntParam'; - 'sym_setDblParam'; - 'sym_getDblParam'; - 'sym_setStrParam'; - 'sym_getStrParam'; - 'sym_getInfinity'; - 'sym_loadProblemBasic'; - 'sym_loadProblem'; - 'sym_loadMPS'; - 'sym_getNumConstr'; - 'sym_getNumVar'; - 'sym_getNumElements'; - 'sym_isContinuous'; - 'sym_isBinary'; - 'sym_isInteger'; - 'sym_setContinuous'; - 'sym_setInteger'; - 'sym_getVarLower'; - 'sym_getVarUpper'; - 'sym_setVarLower'; - 'sym_setVarUpper'; - 'sym_getObjCoeff'; - 'sym_setObjCoeff'; - 'sym_getObjSense'; - 'sym_setObjSense'; - 'sym_getRhs'; - 'sym_getConstrRange'; - 'sym_getConstrLower'; - 'sym_getConstrUpper'; - 'sym_setConstrLower'; - 'sym_setConstrUpper'; - 'sym_setConstrType'; - 'sym_getMatrix'; - 'sym_getConstrSense'; - 'sym_addConstr'; - 'sym_addVar'; - 'sym_deleteVars'; - 'sym_deleteConstrs'; - 'sym_getPrimalBound'; - 'sym_setPrimalBound'; - 'sym_setVarSoln'; - 'sym_solve'; - 'sym_getStatus'; - 'sym_isOptimal'; - 'sym_isInfeasible'; - 'sym_isAbandoned'; - 'sym_isIterLimitReached'; - 'sym_isTimeLimitReached'; - 'sym_isTargetGapAchieved'; - 'sym_getVarSoln'; - 'sym_getObjVal'; - 'sym_getIterCount'; - 'sym_getConstrActivity'; - 'linearprog'; - 'rmps'; - 'solveqp'; - 'solveminuncp'; - 'solveminbndp'; - 'solveminconp'; -]; -addinter(libFOSSEE_Optimizat_path + filesep() + 'libFOSSEE_Optimization_Toolbox' + getdynlibext(), 'libFOSSEE_Optimization_Toolbox', list_functions); -// remove temp. variables on stack -clear libFOSSEE_Optimizat_path; -clear bOK; -clear ilib; -clear list_functions; -// ---------------------------------------------------------------------------- diff --git a/sci_gateway/loader_gateway.sce b/sci_gateway/loader_gateway.sce deleted file mode 100644 index 6809d99..0000000 --- a/sci_gateway/loader_gateway.sce +++ /dev/null @@ -1,24 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder_gateway.sce: Please, do not edit this file - -try - v = getversion("scilab"); -catch - v = [ 5 0 ]; // or older -end -if (v(1) <= 5) & (v(2) < 3) then - // new API in scilab 5.3 - error(gettext("Scilab 5.3 or more is required.")); -end - -sci_gateway_dir = get_absolute_file_path("loader_gateway.sce"); -current_dir = pwd(); - -chdir(sci_gateway_dir); -if ( isdir("cpp") ) then - chdir("cpp"); - exec("loader.sce"); -end - -chdir(current_dir); -clear sci_gateway_dir current_dir v; diff --git a/unloader.sce b/unloader.sce deleted file mode 100644 index 8b09ac1..0000000 --- a/unloader.sce +++ /dev/null @@ -1,14 +0,0 @@ -// This file is released under the 3-clause BSD license. See COPYING-BSD. -// Generated by builder.sce: Please, do not edit this file - -try - getversion("scilab"); -catch - error("Scilab 5.4 or more is required."); -end; - -fileQuit = get_absolute_file_path("unloader.sce") + "etc/" + "FOSSEE_Optimization_Toolbox.quit"; -if isfile(fileQuit) then - exec(fileQuit); -end - -- cgit