Skip to content

Instantly share code, notes, and snippets.

@jmmshn
Created October 17, 2022 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmmshn/21b211d1a474a1fa02b7f9ae0c5268e1 to your computer and use it in GitHub Desktop.
Save jmmshn/21b211d1a474a1fa02b7f9ae0c5268e1 to your computer and use it in GitHub Desktop.
dextra_orderbook_3node_bad_guess
model, bought, sold, price = construct_model(total_trade_volume, orderbook)
@constraint(model, price[1] == 1)
optimize!(model)
summarize(orderbook, bought, sold, price)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment