1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
--- a/include/minizinc/solvers/MIP/MIP_solverinstance.hpp
+++ b/include/minizinc/solvers/MIP/MIP_solverinstance.hpp
@@ -80,7 +80,7 @@
template <class MIPWrapper>
std::string MIPSolverFactory<MIPWrapper>::getDescription(SolverInstanceBase::Options* opt) {
- std::string v = "MIP solver plugin, compiled " __DATE__ ", using: " +
+ std::string v = "MIP solver plugin, compiled using: " +
MIPWrapper::getDescription(_factoryOptions, opt);
return v;
}
--- a/lib/flattener.cpp
+++ b/lib/flattener.cpp
@@ -39,7 +39,7 @@
os << ", build " << MZN_BUILD_REF;
}
os << std::endl;
- os << "Copyright (C) 2014-" << string(__DATE__).substr(7, 4)
+ os << "Copyright (C) 2014-2025"
<< " Monash University, NICTA, Data61" << std::endl;
}
--- a/solvers/MIP/MIP_cplex_wrap.cpp
+++ b/solvers/MIP/MIP_cplex_wrap.cpp
@@ -244,7 +244,6 @@
} catch (MiniZinc::Error&) {
v += "[?? ...cannot open CPLEX env to query version]";
}
- v += " Compiled " __DATE__ " " __TIME__;
return v;
}
--- a/solvers/MIP/MIP_gurobi_wrap.cpp
+++ b/solvers/MIP/MIP_gurobi_wrap.cpp
@@ -45,7 +45,6 @@
MiniZinc::SolverInstanceBase::Options* opt) {
ostringstream oss;
oss << "MIP wrapper for Gurobi library " << getVersion(factoryOpt, nullptr);
- oss << ". Compiled " __DATE__ " " __TIME__;
return oss.str();
}
--- a/solvers/MIP/MIP_highs_wrap.cpp
+++ b/solvers/MIP/MIP_highs_wrap.cpp
@@ -91,8 +91,7 @@
std::string MIPHiGHSWrapper::getDescription(FactoryOptions& factoryOpt,
MiniZinc::SolverInstanceBase::Options* opt) {
std::ostringstream ss;
- ss << "MIP wrapper for HiGHS " << getVersion(factoryOpt, opt) << "\n Compiled "
- << ". Compiled " __DATE__ " " __TIME__;
+ ss << "MIP wrapper for HiGHS " << getVersion(factoryOpt, opt);
return ss.str();
}
@@ -513,4 +512,4 @@
default:
break;
}
-}
\ No newline at end of file
+}
--- a/solvers/MIP/MIP_osicbc_wrap.cpp
+++ b/solvers/MIP/MIP_osicbc_wrap.cpp
@@ -44,7 +44,6 @@
v += CBC_VERSION; // E.g., 2.9 stable or 2.9.7 latest release
v += ", using CLP ";
v += CLP_VERSION;
- v += " Compiled " __DATE__ " " __TIME__;
return v;
}
--- a/solvers/MIP/MIP_scip_wrap.cpp
+++ b/solvers/MIP/MIP_scip_wrap.cpp
@@ -178,7 +178,7 @@
MiniZinc::SolverInstanceBase::Options* opt) {
ostringstream oss;
oss << "MIP wrapper for SCIP " << getVersion(factoryOpt, opt)
- << ". Compiled " __DATE__ " " __TIME__;
+ << ". Compiled";
return oss.str();
}
string MIPScipWrapper::getVersion(FactoryOptions& factoryOpt,
--- a/solvers/MIP/MIP_xpress_wrap.cpp
+++ b/solvers/MIP/MIP_xpress_wrap.cpp
@@ -152,7 +152,6 @@
MiniZinc::SolverInstanceBase::Options* opt) {
ostringstream oss;
oss << " MIP wrapper for FICO Xpress Optimiser version " << getVersion(factoryOpt, opt);
- oss << ". Compiled " __DATE__ " " __TIME__;
return oss.str();
}
--- a/solvers/fzn/fzn_solverinstance.cpp
+++ b/solvers/fzn/fzn_solverinstance.cpp
@@ -43,7 +43,7 @@
}
string FZNSolverFactory::getDescription(SolverInstanceBase::Options* /*opt*/) {
- string v = "FZN solver plugin, compiled " __DATE__ " " __TIME__;
+ string v = "FZN solver plugin";
return v;
}
--- a/solvers/gecode/gecode_solverinstance.cpp
+++ b/solvers/gecode/gecode_solverinstance.cpp
@@ -51,7 +51,7 @@
}
string GecodeSolverFactory::getDescription(SolverInstanceBase::Options* /*opt*/) {
- string v = "Gecode solver plugin, compiled " __DATE__ ", using: Gecode version " +
+ string v = "Gecode solver plugin, using: Gecode version " +
string(GECODE_VERSION);
return v;
}
--- a/solvers/mzn/mzn_solverinstance.cpp
+++ b/solvers/mzn/mzn_solverinstance.cpp
@@ -38,7 +38,7 @@
}
string MZNSolverFactory::getDescription(SolverInstanceBase::Options* /*opt*/) {
- string v = "MZN solver plugin, compiled " __DATE__ " " __TIME__;
+ string v = "MZN solver plugin";
return v;
}
--- a/solvers/nl/nl_solverinstance.cpp
+++ b/solvers/nl/nl_solverinstance.cpp
@@ -39,7 +39,7 @@
}
string NLSolverFactory::getDescription(SolverInstanceBase::Options* /*opt*/) {
- string v = "NL solver plugin, compiled " __DATE__ " " __TIME__;
+ string v = "NL solver plugin";
return v;
}
|