art-programmer / FloorplanTransformation

Raster-to-Vector: Revisiting Floorplan Transformation
http://art-programmer.github.io/floorplan-transformation.html
MIT License
496 stars 171 forks source link

Disable Gurobi? #2

Closed happyfrank closed 5 years ago

happyfrank commented 6 years ago

Hello @art-programmer Thank for you share this amazing code. I wanna ask if it's possiable to disable Gurobi module? Cause I don't have Gurobi License. Will it increase the computation time?

chenliu-wustl commented 6 years ago

Sorry for the late response. The Integer Programming requires Gurobi. To disable the integer programming part (and use heuristics to connect corners), you can add argument withoutQP=true when calling the function invertFloorplan. But the final results will be worse without Integer Programming.

art-programmer commented 5 years ago

We now provide a solver without Gurobi at pytorch/IP.py.