<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by murat seçmen on Medium]]></title>
        <description><![CDATA[Stories by murat seçmen on Medium]]></description>
        <link>https://medium.com/@hellheim86?source=rss-2495f4874904------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*tQhRYD909Afatm-5.</url>
            <title>Stories by murat seçmen on Medium</title>
            <link>https://medium.com/@hellheim86?source=rss-2495f4874904------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:38:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hellheim86/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Cargo Loading Is Harder Than It Looks]]></title>
            <link>https://medium.com/@hellheim86/cargo-loading-is-harder-than-it-looks-820169acb78c?source=rss-2495f4874904------2</link>
            <guid isPermaLink="false">https://medium.com/p/820169acb78c</guid>
            <dc:creator><![CDATA[murat seçmen]]></dc:creator>
            <pubDate>Tue, 09 Jun 2026 14:36:17 GMT</pubDate>
            <atom:updated>2026-06-09T14:36:17.021Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Three NP-hard problems walked into a truck…</em></p><p>Every day, logistics planners load hundreds of trucks from memory and experience. It works — until it doesn’t. Overloaded axles, crushed cargo, a delivery stop where half the truck needs to be unloaded just to reach one pallet.</p><p>We decided to model it properly.</p><h4>The Problem</h4><p>Intuition says: “just fit the boxes in.” Reality says: you’re solving three problems at once.</p><p><strong>Geometry.</strong> Items must fit in 3D space without overlap. Classic bin packing — already NP-hard.</p><p><strong>Weight.</strong> Gross limits, axle load distribution, center of gravity. Not just <em>how much</em>, but <em>where</em>.</p><p><strong>Sequence.</strong> The last delivery stop gets loaded first. Violate this and you’re unpacking half the truck at stop 2. Every time.</p><p>These three don’t add — they multiply.</p><h4>What We Built</h4><p>An Integer Linear Program that decides which cargo goes where, in what position, in what order.</p><p>The nastiest part? Spatial non-overlap alone requires O(n²) binary variables. Add sequencing constraints on top, and the model gets heavy fast.</p><p>Two things saved us: treating LIFO as a <strong>soft penalty</strong> rather than a hard constraint (real planners make tradeoffs anyway) and adding anti-symmetry constraints that made the solver significantly faster — the kind of gain that turns an overnight run into a lunch-break job.</p><h4>The Honest Takeaway</h4><p>The math was the easy part. Bad input dimensions broke the model faster than any constraint did. And planners only trusted the output when it could <em>explain</em> why a load was infeasible — not just say that it was.</p><p>Optimization doesn’t replace expertise. It makes it scalable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=820169acb78c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beautiful, Wrong Answers: A Practitioner’s Notes on MILP Reproducibility]]></title>
            <link>https://medium.com/@hellheim86/beautiful-wrong-answers-a-practitioners-notes-on-milp-reproducibility-4b8e2534f509?source=rss-2495f4874904------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b8e2534f509</guid>
            <dc:creator><![CDATA[murat seçmen]]></dc:creator>
            <pubDate>Mon, 08 Jun 2026 13:46:20 GMT</pubDate>
            <atom:updated>2026-06-08T13:46:20.349Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a particular frustration only operations researchers know: you work through an existing formulation, run the solver, and the solution looks <em>too good</em>. Not celebrate-good. Distrust-the-mathematics good.</p><p>That is where this story begins.</p><h4>The Starting Point</h4><p>The model in question is a multi-echelon distribution network design formulation — deciding which facilities to open, how to route products, and how to satisfy customer demand at minimum cost. A classic problem, well-studied, with an existing CPLEX/OPL implementation I was working from.</p><p>Porting it to Python/Gurobi should have been routine. It wasn’t.</p><h4>What I Found Along the Way</h4><p>When you work from an existing implementation, there is a natural tendency to trust it. The logic seems sound, the structure is familiar, and you assume any issues are yours. That assumption is worth questioning.</p><p>Working through the formulation, I encountered four structural inconsistencies:</p><p><strong>Cost expression.</strong> Fixed and variable transportation cost components appeared conflated in the objective function, double-counting costs under specific routing configurations.</p><p><strong>Backlog behavior.</strong> The penalty mechanism for unmet demand allowed backlog variables to absorb demand shortfalls without binding against actual inventory levels. The model thought it was serving customers. It was deferring demand indefinitely at negligible cost.</p><p><strong>Symmetry-breaking constraints.</strong> These are only valid when facilities are truly interchangeable — which they are not once heterogeneous capacities and geographic coordinates enter the picture. Rather than accelerating the solver, they were quietly cutting off feasible regions.</p><p><strong>Capacity formulation.</strong> The DC capacity constraint bounded throughput per period but did not account for inventory carryover. Under certain demand patterns, more product was routed through a DC than its physical capacity should have allowed.</p><h4>The Ghost Variable</h4><p>My own extended implementation introduced one more issue — and this one took the longest to find.</p><p>I defined an initial inventory variable for each DC and product at period zero, intended to be fixed at zero. I defined it. I never added the fixing constraint.</p><p>Gurobi assigned arbitrarily large values to a free variable. The model satisfied all customer demand from phantom opening inventory. No factories needed to open. Cost collapsed. The solution was extraordinary and completely wrong.</p><p>The fix is a single constraint: set initial inventory to zero for all DC-product pairs at period zero.</p><p>This is the kind of bug that produces no error message. It produces a beautiful, wrong answer.</p><h4>A Note on Reproducibility</h4><p>Formulation inconsistencies in MILP models are more common than the community tends to acknowledge — partly because replication is rarely incentivized, and partly because solvers handle structural ambiguities differently. A model can run cleanly in one environment and silently misbehave in another.</p><p>The OR community has not yet developed the kind of reproducibility culture that machine learning has built around open benchmarks and shared implementations. Network design formulations frequently require significant interpretive work to implement — and occasionally, revision.</p><p>None of this is a criticism of any particular work. It is an observation about a gap worth closing.</p><p>The solver will always find an optimal solution. Whether it is optimal for the <em>right</em> problem is a different question entirely.</p><p><em>The full extended model — multi-period, multi-product, with carbon emission constraints, geographic feasibility filtering, and mode-dependent transportation costs — is openly available: </em><a href="https://github.com/MuratSecmen/distribution-network-design_deu"><strong><em>github.com/MuratSecmen/distribution-network-design_deu</em></strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b8e2534f509" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Critical Thinking]]></title>
            <link>https://medium.com/@hellheim86/on-the-awakening-of-the-intellect-to-the-study-of-itself-is-critical-thinking-614a3f785204?source=rss-2495f4874904------2</link>
            <guid isPermaLink="false">https://medium.com/p/614a3f785204</guid>
            <category><![CDATA[european-union]]></category>
            <category><![CDATA[analytical-thinking]]></category>
            <category><![CDATA[yetgen2021]]></category>
            <dc:creator><![CDATA[murat seçmen]]></dc:creator>
            <pubDate>Fri, 22 Oct 2021 09:30:42 GMT</pubDate>
            <atom:updated>2021-10-23T10:24:53.115Z</atom:updated>
            <content:encoded><![CDATA[<p>On the awakening of the intellect to the study of itself is critical thinking…</p><p>Critical thinking is a complex notation that has evolved over the last 2.500 years. The phrase “critical thinking” dates back to the mid-late twentieth century. I would like to present overlapping definitions of critical thinking, which together form a substantial and cross-disciplinary idea of it.</p><p>As a guide to belief and behavior, critical thinking is the intellectually disciplined process of deliberately and skillfully conceiving, applying, analyzing, synthesizing, and/or evaluating knowledge obtained through, or generated by, observation, experience, reflection, reasoning, or communication. It is founded on universal qualities that transcend subject matter divisions, such as accuracy, exactness, compactness, applicability, good arguments, base, exhalation, and fairness in its typical forms.</p><p>Critical thinking differs depending on the stimulus that drives it. When encouraged by self-interest, it frequently manifests itself in the deft manipulation of ideas in the service of one’s or one’s group’s bestowed appeals. By its very nature, as pragmatically successful it may be, it is generally reasonably amiss. It is often of a higher intellectual order when anchored in fair-mindedness and intellectual honesty, however it is prone to the charge of “expectation&quot; by those accustomed to its selfish application.</p><p>With the help of yetgen program, I was motivated to simply put my first letter here. Please enjoy your reading.</p><p>Murat Seçmen</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=614a3f785204" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>