Skip to content

Commit

Permalink
Added HighsLpWorkTerm and kLpWorkNames
Browse files Browse the repository at this point in the history
  • Loading branch information
jajhall committed Dec 19, 2024
1 parent 2bdcb1e commit 7201a6b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/lp_data/HConst.h
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,42 @@ enum HighsLpStatsReport {
HighsLpStatsReportCsvData
};

enum HighsLpWorkTerm {
HighsLpWorkTermNumCol = 0,
HighsLpWorkTermNumRow,
HighsLpWorkTermNumNz,
HighsLpWorkTermRelativeMaxCostEntry,
HighsLpWorkTermRelativeNumEqualCost,
HighsLpWorkTermRelativeNumInfUpper,
HighsLpWorkTermRelativeNumEquations,
HighsLpWorkTermRelativeMaxRhsEntry,
HighsLpWorkTermRelativeNumEqualRhs,
HighsLpWorkTermMatrixDensity,
HighsLpWorkTermMatrixNzPerCol,
HighsLpWorkTermMatrixNzPerRow,
HighsLpWorkTermRelativemaxMatrixEntry,
HighsLpWorkTermRelativeNumEqualMatrixNz,
HighsLpWorkTermRelativeNumDenseRow,
HighsLpWorkTermCount
};

const std::vector<std::string> kLpWorkNames = {"NumCol",
"NumRow",
"NumNz",
"RelativeMaxCostEntry",
"RelativeNumEqualCost",
"RelativeNumInfUpper",
"RelativeNumEquations",
"RelativeMaxRhsEntry",
"RelativeNumEqualRhs",
"MatrixDensity",
"MatrixNzPerCol",
"MatrixNzPerRow",
"RelativemaxMatrixEntry",
"RelativeNumEqualMatrixNz",
"RelativeNumDenseRow"};

const std::vector<double> kLpWorkCoefficients = {
1.0, 2.0, 3.0, 4.0, 5.0, 1.0, 2.0, 3.0, 4.0, 5.0, 1.0, 2.0, 3.0, 4.0, 5.0};

#endif /* LP_DATA_HCONST_H_ */

0 comments on commit 7201a6b

Please sign in to comment.