I found OpenSolver, a free Excel add-in, through Mike Trick’s OR Blog. It took me about 5 minutes to download it, install it, and getting it working with one of my existing spreadsheets that I use in class.
I had used Excel’s built-in solver only because all my students had it installed and it was easy to learn. The limitations, though, always kept the model size small and I never fully trusted it with integer programs.
One nice feature of OpenSolver is that it shows the model. OpenSolver automatically added the color you see below to the model. You can see in G208, the cell is red and it shows that I’m minimizing this cell. Column F and the Y i-j matrix below is colored pink since these are decision variables. In cell C213 you can see that it shows that these decision variables are binary. And, F209:F210 show an example of a constraint and you can see that it is less than.
One of the reasons I use Excel is that the students are used to it. And, it is logical for them to set up problems in Excel. When OpenSolver adds this extra information to the spreadsheet, it is even better. The students can see how their model is working and also look for bugs or problems.
I’ve only done a few large scale tests. In one, I had 200 warehouses serving 200 customers and wanted the best 3 warehouses. OpenSolver solved this fine, but took about 5-10 minutes to initially build the model. By contrast, CPLEX Studio 12.4 read data from the same spreadsheet and solved the model in just a few seconds.