Skip to content

Commit

Permalink
fix time Quasimodo spends on solving
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed May 10, 2023
1 parent a05a2d1 commit b2bf9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quasimodo_ebbo/on_chain_surplus.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def get_solver_response(order_id: str, bucket_response: Any) -> Tuple[Any, Any]:
bucket_response_json = json.dumps(solver_instance)
solver_url = (
str(QUASIMODO_SOLVER_URL)
+ "/solve?time_limit=2&use_internal_buffers=false&objective=surplusfeescosts"
+ "/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts"
)
# make solution request to quasimodo
solution = requests.post(solver_url, data=bucket_response_json, timeout=30)
Expand Down

0 comments on commit b2bf9c6

Please sign in to comment.