Skip to content

Commit 75cc162

Browse files
committed
Removed Highs_compilationDate
1 parent b090011 commit 75cc162

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

check/TestCAPI.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ void versionApi() {
245245
printf("HiGHS version minor %" HIGHSINT_FORMAT "\n", Highs_versionMinor());
246246
printf("HiGHS version patch %" HIGHSINT_FORMAT "\n", Highs_versionPatch());
247247
printf("HiGHS githash: %s\n", Highs_githash());
248-
// Compilation date is deprecated.
249-
// printf("HiGHS compilation date %s\n", Highs_compilationDate());
250248
}
251249
}
252250

highs/interfaces/highs_c_api.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,8 +1609,6 @@ HighsInt Highs_repairCallbackSolution(HighsCallbackDataIn* data_in) {
16091609
// * Deprecated methods*
16101610
// *********************
16111611

1612-
const char* Highs_compilationDate(void) { return "Deprecated"; }
1613-
16141612
HighsInt Highs_call(const HighsInt num_col, const HighsInt num_row,
16151613
const HighsInt num_nz, const double* col_cost,
16161614
const double* col_lower, const double* col_upper,

highs/interfaces/highs_c_api.h

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,8 @@ HighsInt Highs_getDoubleOptionValue(const void* highs, const char* option,
783783
*
784784
* @param highs A pointer to the Highs instance.
785785
* @param option The name of the option.
786-
* @param value A pointer to allocated memory (of at least
787-
* `kMaximumStringLength`) to store the current value of the
788-
* option.
786+
* @param value A pointer to allocated memory to store the current value of
787+
* the option. This must have length `kHighsMaximumStringLength`.
789788
*
790789
* @returns A `kHighsStatus` constant indicating whether the call succeeded.
791790
*/
@@ -2533,13 +2532,6 @@ HighsInt Highs_repairCallbackSolution(HighsCallbackDataIn* data_in);
25332532
// * Deprecated methods*
25342533
// *********************
25352534

2536-
/**
2537-
* Return the HiGHS compilation date.
2538-
*
2539-
* @returns Thse HiGHS compilation date.
2540-
*/
2541-
static const char* Highs_compilationDate(void);
2542-
25432535
// These are deprecated because they don't follow the style guide. Constants
25442536
// must begin with `k`.
25452537
static const HighsInt HighsStatuskError = -1;

highs/lp_data/HighsLpUtils.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
#include "util/HighsMatrixUtils.h"
2525
#include "util/HighsSort.h"
2626

27-
//using std::fabs;
28-
//using std::max;
29-
//using std::min;
27+
// using std::fabs;
28+
// using std::max;
29+
// using std::min;
3030

3131
const HighsInt kMaxLineLength = 80;
3232

0 commit comments

Comments
 (0)