加速维克里拍卖支付计算的研究与实践
1. BACKTRACK 算法介绍
BACKTRACK 算法用于解决组合拍卖中的赢家确定问题,以下是其代码实现:
BACKTRACK (profile, path_value){
IF (path_value > best){
IN* -> IN;
best -> path_value;
}
lp_value = LP(profile);
IF (lp_value + path_value <= best){
return;
}
IF (lp solution is integral){
IF (lp_value + path_value > best){
best = lp_value + path_value;
update IN*;
}
return;
}
greedy_value = GREEDY(profile);
IF (greedy_value + path_value > best){
best = greedy_value + path_value;
update IN*;
}
choose bid b from profile
delete b from profile
IN = IN + {b}
remove all bids b in profile th
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



