post /solve/{rule}Pricing rule:
Lindsay2018 - Shapley value based pricing as described by Lindsay (2018).VCG - Vickrey-Clarke-Groves pricing.PaB - Pay-as-bid pricing.application/json{
"surplus_shares" : {
"seller" : 10,
"buyer h" : 30
},
"problem" : {
"bidders" : [ {
"name" : "airline",
"bids" : [ {
"v" : 0,
"q" : {
"a" : 1
}
}, {
"v" : 0,
"q" : {
"b" : 1
}
} ]
}, {
"name" : "tourist",
"bids" : [ {
"v" : 90,
"q" : {
"a" : -1,
"b" : -1
}
} ]
}, {
"name" : "co-authors",
"bids" : [ {
"v" : 60,
"q" : {
"a" : -1
},
"xor_group" : 1
}, {
"v" : 60,
"q" : {
"b" : -1
},
"xor_group" : 1
} ]
} ]
},
"surplus" : 20,
"payments" : {
"key" : 0.8008281904610115
},
"rule" : "Lindsay2018"
}
application/jsonBid Updivisibility:
indivisible - only complete bid transactsdivisible - bid can partially transact.mixed - for use with XOR bids, within the XOR group, bids can partially transact but the sum within the XOR group of the factions that transact must equal 0 or 1.