MCPcopy Create free account
hub / github.com/ERGO-Code/HiGHS / scaleCol

Method scaleCol

highs/lp_data/Highs.cpp:3581–3589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3579}
3580
3581HighsStatus Highs::scaleCol(const HighsInt col, const double scale_value) {
3582 HighsStatus return_status = HighsStatus::kOk;
3583 clearDerivedModelProperties();
3584 HighsStatus call_status = scaleColInterface(col, scale_value);
3585 return_status = interpretCallStatus(options_.log_options, call_status,
3586 return_status, "scaleCol");
3587 if (return_status == HighsStatus::kError) return HighsStatus::kError;
3588 return returnFromHighs(return_status);
3589}
3590
3591HighsStatus Highs::scaleRow(const HighsInt row, const double scale_value) {
3592 HighsStatus return_status = HighsStatus::kOk;

Callers 3

Highs_scaleColFunction · 0.45
applyScalingToLpColFunction · 0.45

Calls 1

interpretCallStatusFunction · 0.85

Tested by

no test coverage detected