Closed c-mccullough closed 4 years ago
@c-mccullough, very good! You just need to update the unit tests in Python (see here)
The prior errors in regards to SolverResponse
objects not being subscriptable have been fixed; the unsuccessful check does not seem to be consistent: https://travis-ci.org/c-mccullough/optimization-engine/builds/609479780?utm_source=github_status&utm_medium=notification
OptimizerTcpManager.call()
now returns aSolverResponse
object.SolverResponse.get()
is used to return aSolverStatus
orSolverError
object. When printing the output of the solver, it can be called as follows:solution = mng.call([...])
print(json.dumps(solution.get_dict(), ...))
as opposed to:
print(json.dumps(solution, ...))