merschformann / sardine-can

Humble 3D knapsack / bin packing solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FileNotFoundException, gurobi90.netstandard20

jrojer opened this issue · comments

Hello.

I obtained gurobi dlls, but I cannot figure out where to put them, so the GUI app works in HybridStyle.
Can you please give more info on that?

System.IO.FileNotFoundException: 'Could not load file or assembly 'gurobi90.netstandard20, Version=9.0.0.0, Culture=neutral, PublicKeyToken=21e2c4b1860157bc'. The system cannot find the file specified.'

I have gurobi90.netstandard20.dll of exact same version 9.0.0.0

I had the same issues lately. Originally, the dlls were part of the project. I only removed them for legal reasons. Somehow the binding seems broken. I'll try to look into it this weekend. Maybe there is a way to fix it. Any additional info or ideas would be much appreciated. 😊

,NET 3.5 required

The issue should be fixed now (latest commit on main branch), I hope it works for you. It should be sufficient to copy gurobi91.dll to the directory of the .exe. The Gurobi version I used is 9.1.2.
I hope I can find some time to add more docs to this project in the future. 😅

Small preview from my machine:

gurobi

Also, let me know if you have further questions. There are many ups and downs with the model formulations (and the heuristics too). Happy to have a chat about it, if you are interested beyond playing with it. ☺️

I hope this was resolved, if not feel free to re-open.