Update solver for PUF stage 2 from PuLP to CVXOPT#343
Update solver for PUF stage 2 from PuLP to CVXOPT#343chusloj wants to merge 13 commits intoPSLmodels:masterfrom
Conversation
cvxopt for PUF stage2.py [Review]|
Thanks for the PR, @chusloj. I'll review it later today/this weekend. |
|
Thanks again for the PR @chusloj. Left a few comments and noticed a couple more things. It looks like there has been a change to |
For the CPS:
For the PUF:
After changing |
Perfect. Glad we're not seeing a big change.
This is interesting. Could you run both one more time and see if the weights change? |
After running a second time, |
|
Well that's good. Can you get the md5 checksum for the weights you're creating? I checked out this branch and want to make sure we're getting the same one. Mine is Once we confirm they're the same, I'm ok with merging this. Doesn't seem likely we'll ever track down the reason for the slight discrepancy and I've run out of ideas for where to look. But if we run into this same issue again down the road we'll need to do some deeper digging. |
erge remote-tracking branch 'upstream/master' into solver_update
|
With the closing of #351 , this update has been made null and void. Closing. |
This PR updates the solver used in the
stage2.pysolver for thePUFweights fromPuLPtoCVXOPT. Total running time for the solver has changed from about 2 hours (PuLP) to about 20 minutes (CVXOPT). Also, the README is updated to reflect the fact that the PUF stage 2 solver no longer takes several hours to run.@andersonfrailey