Piecewise linear functions and formulations for interpolation (part 2)
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticlePiecewise linear functions and formulations for interpolation (part 3)
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleVisualization of a large scheduling solution
One of the problems we face when developing larger scheduling problems is: how do we look at the solution? The solution data is too large to eye ball, and looking at tables with 0-1 decision variables...
View ArticleMath Checker?
Spell checkers are very useful. It may not be such a bad idea to have something like a "Math checker". It could flag things like:ReferencesBashiri, M. & Karimi, H. J, Effective heuristics and...
View ArticleGenerating Pareto optimal points (part 1)
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleGenerating Pareto optimal points (part 2)
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleSometimes a simple heuristic is the best
Demoing a cutting stock problem, I was a bit overthinking things. If the material is cheap, the optimal cutting patterns are too complicated. Simplified cutting patterns are better even when this...
View ArticleAnaconda Python Install
The installation of anaconda 64 bit on my windows laptop worked fine. But then all conda and pip commands came back with the fatal error:Can't connect to HTTPS URL because the SSL module is not...
View ArticleCutting Application
Version 1 of cutting application.The algorithms are a small part of the whole application. Some of the issues:Users are not always able to "specify" in detail what they want in advance. Building...
View ArticleOrdering of variables / constraints in an LP/MIP
In [1] a user asks about how to force a certain ordering of variables for an LP/MIP model. This is an intriguing question for me because I really never worry about this.The user asks only about...
View ArticleBad naming?
Example C++ codeThe above fragment is from [1]. I never write loops like this. I use \(n\) for limits or counts, but never for a loop index.Looking at this, I realized I have many of these "rules"....
View ArticleBad question?
In [1] a user asks:I need to build a MILP (Mixed integer linear programming) constraint form this if-else statement: with beta is a constant.if (a > b) then c = beta else c = 0How can I build the...
View ArticleMachine Scheduling
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleAssignment: Scipy vs Cplex
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleSpecial assignment problem
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleMaximum Dispersion
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleBinary multiplication
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleQuadratic Indicator Constraint?
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View ArticleAdvanced R (second edition)
The second edition is out. My version has color pictures (so it must be good!). This book is about the R programming language (not about statistical techniques). Even if you know R really well, you...
View ArticleFinding the central point in a point cloud
table.xyz { table-layout: fixed; border-collapse: collapse; margin-left:auto; margin-right:auto; } table.xyz th, table.xyz td { border: 1px solid black; } table.blueTable { border: 1px solid #1C6EA4;...
View Article