Created
October 17, 2022 06:33
-
-
Save jmmshn/669558a308524b1b2baccc8e51bdc908 to your computer and use it in GitHub Desktop.
dextra_orderbook_2node_stable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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