bnelearn.tests.test_llllgg_auctions module

Testing correctness of LLLLGG combinatorial auction implementations.

bnelearn.tests.test_llllgg_auctions.run_LLLLGG_test(parallel, rule, device, bids, expected_allocation, expected_payments, solver)[source]

Run correctness test for a given LLLLGG rule

bnelearn.tests.test_llllgg_auctions.test_LLLLGG(parallel, rule, bids, expected_allocation, expected_payments)[source]

Testing batch_size > 1, VCG 0 prices, FP, global/local winning

bnelearn.tests.test_llllgg_auctions.test_LLLLGG_gurobi(parallel, rule, bids, expected_allocation, expected_payments, check_gurobi)[source]

Testing batch_size > 1, VCG 0 prices, FP, global/local winning