bnelearn.tests.test_combinatorial_auctions module

Testing correctness of LLLLGG combinatorial auction implementations.

bnelearn.tests.test_combinatorial_auctions.run_combinatorial_test(rule, device, bids, bundle, expected_allocation, expected_VCG_payments)[source]

Run correctness test for a given LLLLGG rule

bnelearn.tests.test_combinatorial_auctions.test_combinatorial(rule, bids, bundles, expected_allocation, expected_payments, check_gurobi)[source]

Tests allocation and payments in combinatorial auctions