Skip to content

Commit 7699767

Browse files
committed
Change logging level in combinatorial auction
1 parent 6506e83 commit 7699767

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

python/src/ecole/_combinatorial_auction_generator.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def choose_next_item(bundle_mask, interests, compats, add_item_prob, rng):
226226

227227
# drop negativaly priced bundles
228228
if price < 0:
229-
logger.warning("Negatively priced bundle avoided")
229+
logger.debug("Negatively priced bundle avoided")
230230
continue
231231

232232
# bid on initial bundle
@@ -269,19 +269,19 @@ def choose_next_item(bundle_mask, interests, compats, add_item_prob, rng):
269269
break
270270

271271
if price < 0:
272-
logger.warning("Negatively priced substitutable bundle avoided")
272+
logger.debug("Negatively priced substitutable bundle avoided")
273273
continue
274274

275275
if price > budget:
276-
logger.warning("Over priced substitutable bundle avoided")
276+
logger.debug("Over priced substitutable bundle avoided")
277277
continue
278278

279279
if values[bundle].sum() < min_resale_value:
280-
logger.warning("Substitutable bundle below min resale value avoided")
280+
logger.debug("Substitutable bundle below min resale value avoided")
281281
continue
282282

283283
if frozenset(bundle) in bidder_bids:
284-
logger.warning("Duplicated substitutable bundle avoided")
284+
logger.debug("Duplicated substitutable bundle avoided")
285285
continue
286286

287287
bidder_bids[frozenset(bundle)] = price

0 commit comments

Comments
 (0)