ds4dm / learn2branch-ecole

Reimplementation of "Exact Combinatorial Optimization with Graph Convolutional Neural Networks" (NeurIPS 2019)

Home Page:https://arxiv.org/abs/1906.01629

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scores array has nan values

SelinBayramoglu opened this issue · comments

Hello,

I am trying to replicate the Learning to Branch study. I chose the problem domain as setcover. In 02_generate_dataset.py, when debugging the program, I realized that scores[action_set] has nan values and scores[action_set].argmax() returns the index of an element in scores[action_set] with a nan value. My understanding is that action_set is the set of pseudocandidates (nonfixed variables) and scores[action_set] should not have any nan values. I'd appreciate any help with this. Thank you.

Have you solved this problem? I also encountered the same problem. TT