Skip to content

Commit

Permalink
hardcode staging quasimodo url
Browse files Browse the repository at this point in the history
  • Loading branch information
harisang committed May 18, 2023
1 parent b8dce78 commit daaf596
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ def get_solver_response(
break
# convert back to JSON as post data
bucket_response_json = json.dumps(solver_instance)
solver_url = (
str(TemplateTest.QUASIMODO_SOLVER_URL)
+ "/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts"
)
solver_url = "http://testnets-quasimodo-solver-staging.services.svc.cluster.local:80/solve?time_limit=20&use_internal_buffers=false&objective=surplusfeescosts"
# solver_url = (
# str(TemplateTest.QUASIMODO_SOLVER_URL)
# + "/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 daaf596

Please sign in to comment.