bnelearn.tests.test_llg_auctions module

Testing correctness of LLG combinatorial auction implementations.

bnelearn.tests.test_llg_auctions.run_llg_test(rule, device, expected_payments)[source]

Run correctness test for a given llg rule on given device

bnelearn.tests.test_llg_auctions.test_LLG_first_price()[source]

FP should run on CPU and GPU and return expected results.

bnelearn.tests.test_llg_auctions.test_LLG_full()[source]

LLG setting with complete combinatrial (3d) bids.

bnelearn.tests.test_llg_auctions.test_LLG_nearest_bid()[source]

LLG with nearest-bid rule should run on CPU and GPU and return expected results.

bnelearn.tests.test_llg_auctions.test_LLG_nearest_vcg()[source]

LLG with nearest-VCG rule should run on CPU and GPU and return expected results.

bnelearn.tests.test_llg_auctions.test_LLG_proxy()[source]

LLG with proxy rule should run on CPU and GPU and return expected results.

bnelearn.tests.test_llg_auctions.test_LLG_vcg()[source]

LLG with VCG rule should run on CPU and GPU and return expected results.