Closed alexandre01 closed 5 years ago
I am not at my machine atm but i think on the python side there is a factory function, 'liftedMulticutObjective' if i remember correctly. The benefit of the factory function approach is that the factory function has the same name for different graph types (send from mobile device)
Thanks for your quick response! You were right, using the liftedMulticutObjective
factory function worked perfectly! I was initially confused since this function only takes the graph as argument (and not the weights), but found out setGraphEdgesCosts
enables to define the weights afterwards. Thanks 👍 👍
Hi, Thanks for the awesome library!
When defining a lifted multicut objective, for instance:
I'm getting the following error:
Note that the same code works for a MulticutObjective. Is this related to a missing exported class via pybind? Thanks for your help!