MCPcopy Create free account
hub / github.com/cvanaret/Uno / termination_callback

Function termination_callback

interfaces/Python/example/example_hs015.py:45–47  ·  view source on GitHub ↗
(primals, lower_bound_multipliers, upper_bound_multipliers, constraint_multipliers, objective_multiplier,
						 primal_feasibility_residual, stationarity_residual, complementarity_residual)

Source from the content-addressed store, hash-verified

43 pass
44
45def termination_callback(primals, lower_bound_multipliers, upper_bound_multipliers, constraint_multipliers, objective_multiplier,
46 primal_feasibility_residual, stationarity_residual, complementarity_residual):
47 return False
48
49if __name__ == '__main__':
50 # model creation

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected