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

Function basiclu_obj_update

highs/ipm/basiclu/basiclu_object.c:308–325  ·  view source on GitHub ↗

* basiclu_obj_update() */

Source from the content-addressed store, hash-verified

306 * basiclu_obj_update()
307 */
308lu_int basiclu_obj_update(struct basiclu_object *obj, double xtbl)
309{
310 lu_int status = BASICLU_OK;
311
312 if (!isvalid(obj))
313 return BASICLU_ERROR_invalid_object;
314
315 while (status == BASICLU_OK)
316 {
317 status = basiclu_update(obj->istore, obj->xstore, obj->Li, obj->Lx,
318 obj->Ui, obj->Ux, obj->Wi, obj->Wx, xtbl);
319 if (status != BASICLU_REALLOCATE)
320 break;
321 status = lu_realloc_obj(obj);
322 }
323
324 return status;
325}

Callers

nothing calls this directly

Calls 3

isvalidFunction · 0.85
basiclu_updateFunction · 0.85
lu_realloc_objFunction · 0.85

Tested by

no test coverage detected