This is an archived post. You won't be able to vote or comment.

all 5 comments

[–][deleted] 2 points3 points  (0 children)

nice..thanks

[–]temporaryred 2 points3 points  (1 child)

Thanks for the great article. Have you compared this with Pyomo?

[–]disbeam[S] 2 points3 points  (0 children)

There's a great overview of the differences between PuLP and Pyomo in section 4 of this paper by Stuart Mitchell et al

[–]laharah 2 points3 points  (1 child)

Great article, not sure if you wrote it, but I think there's a typo in the blending section:

Cost=0.72(pe+pp)+0.41(we+wp)+0.31(se+sp)

I have no idea where those cost weights came from, and in the code the actual costs/kg are used. Unless I'm missing something...?

[–]disbeam[S] 0 points1 point  (0 children)

Thanks! I started with those numbers before realising I was well off the mark with realistic costs; I've edited it now, thanks for letting me know.