|
Go to the documentation of this file.
43 ofname = std::string(filename) + ".set";
44 ofs.open(ofname.c_str());
52 ofs << "# run SoPlex as follows:" << std::endl;
53 ofs << "# bin/soplex --loadset=spxcheck.set --readbas=spxcheck.bas spxcheck.mps\n" << std::endl;
56 ofs << "int:pricer = ";
57 if (!strcmp( pricer()->getName(), "Auto"))
58 ofs << " 0" << std::endl;
59 else if (!strcmp( pricer()->getName(), "Dantzig"))
60 ofs << "1" << std::endl;
61 else if (!strcmp( pricer()->getName(), "ParMult"))
62 ofs << "2" << std::endl;
63 else if (!strcmp( pricer()->getName(), "Devex"))
64 ofs << "3" << std::endl;
65 else if (!strcmp( pricer()->getName(), "Steep"))
66 ofs << "4" << std::endl;
67 else if (!strcmp( pricer()->getName(), "SteepEx"))
68 ofs << "5" << std::endl;
69 ofs << "int:ratiotester = ";
71 ofs << "0" << std::endl;
72 else if (!strcmp( ratiotester()->getName(), "Harris"))
73 ofs << "1" << std::endl;
75 ofs << "2" << std::endl;
76 else if (!strcmp( ratiotester()->getName(), "Bound Flipping"))
77 ofs << "3" << std::endl;
78 ofs << "real:feastol = " << feastol() << std::endl;
79 ofs << "real:opttol = " << opttol() << std::endl;
80 ofs << "real:epsilon_zero = " << epsilon() << std::endl;
81 ofs << "real:infty = " << infinity << std::endl;
85 ofname = std::string(filename) + ".mps";
86 ofs.open(ofname.c_str());
90 writeMPS(ofs, rowNames, colNames, NULL);
94 ofname = std::string(filename) + ".bas";
95 return writeBasisFile(ofname.c_str(), rowNames, colNames, cpxFormat);
|