diff options
author | Harpreet | 2015-09-23 18:22:28 +0530 |
---|---|---|
committer | Harpreet | 2015-09-23 18:22:28 +0530 |
commit | e34332a406e4f3fba9b99c6f9ec5138edfcc6aa2 (patch) | |
tree | a7dd948f18ddb1927d482a56b4a3b56486cb7e3d /sci_gateway/cpp/builder_gateway_cpp.sce | |
parent | 33bdd144438436b759bc8d0b0beba715f0e39e5d (diff) | |
download | FOSSEE-Optimization-toolbox-e34332a406e4f3fba9b99c6f9ec5138edfcc6aa2.tar.gz FOSSEE-Optimization-toolbox-e34332a406e4f3fba9b99c6f9ec5138edfcc6aa2.tar.bz2 FOSSEE-Optimization-toolbox-e34332a406e4f3fba9b99c6f9ec5138edfcc6aa2.zip |
qpipopt added
Diffstat (limited to 'sci_gateway/cpp/builder_gateway_cpp.sce')
-rw-r--r-- | sci_gateway/cpp/builder_gateway_cpp.sce | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sci_gateway/cpp/builder_gateway_cpp.sce b/sci_gateway/cpp/builder_gateway_cpp.sce index fb32d92..b42ac8e 100644 --- a/sci_gateway/cpp/builder_gateway_cpp.sce +++ b/sci_gateway/cpp/builder_gateway_cpp.sce @@ -12,8 +12,7 @@ mode(-1) lines(0) -WITHOUT_AUTO_PUTLHSVAR = %t; -toolbox_title = "symphonytools" +toolbox_title = "FAMOS" [a, opt] = getversion(); Version = opt(2); @@ -24,7 +23,7 @@ tools_path = path_builder + "../../thirdparty/linux/"; C_Flags=["-w -fpermissive -I"+tools_path+"include/coin -Wl,-rpath="+tools_path+"lib/"+Version+filesep()+" "] -Linker_Flag = ["-L"+tools_path+"lib/"+Version+filesep()+"libSym"] +Linker_Flag = ["-L"+tools_path+"lib/"+Version+filesep()+"libSym"+" "+"-L"+tools_path+"lib/"+Version+filesep()+"libipopt" ] //Name of All the Functions @@ -108,6 +107,9 @@ Function_Names = [ "sym_getObjVal","sci_sym_getObjVal"; "sym_getIterCount","sci_sym_get_iteration_count"; "sym_getConstrActivity","sci_sym_getRowActivity"; + + //QP function + "solveqp","sci_solveqp" ]; //Name of all the files to be compiled @@ -136,6 +138,10 @@ Files = [ "sci_sym_getrowact.cpp", "sci_sym_getobjsense.cpp", "sci_sym_remove.cpp", + "sci_QuadNLP.cpp" + "QuadNLP.hpp" + "sci_ipopt.cpp" + ] tbx_build_gateway(toolbox_title,Function_Names,Files,get_absolute_file_path("builder_gateway_cpp.sce"), [], Linker_Flag, C_Flags, [], "g++"); |