Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7722313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T04:08:21+00:00 2026-06-01T04:08:21+00:00

When I look at optimization problems I see a lot of options. One is

  • 0

When I look at optimization problems I see a lot of options. One is linear programming. I understand in abstract terms how LP works, but I find it difficult to see whether a particular problem is suitable for LP or not. Are there any heuristics that can help guide this decision?

For example, the work described in Is there a good way to do this type of mining? took weeks before I saw how to structure the problem correctly. Is it possible to know “in advance” that problem could be solved by LP, without first seeing “how to phrase it”?

Is there a checklist I can use to decide whether a problem is suitable for LP? Is there a standard (readable) reference for this topic?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T04:08:22+00:00Added an answer on June 1, 2026 at 4:08 am

    Heuristics (and/or checklists) to decide if the problem at hand is really a Linear Program.

    Here’s my attempt at answering, and I have also tried to outline how I’d approach this problem.

    Questions that indicate that a given problem is suitable to be formulated as an LP/IP:

    1. Are there decisions that need to be taken regularly, at different time intervals?
    2. Are there a number of resources (workers, machines, vehicles) that need to be assigned tasks? (hours, jobs, destinations)
    3. Is this a routing problem, where different “points” have to be visited?
    4. Is this a location or a “layout” problem? (Whole class of Stock-cutting problems fall into this group)

    Answering yes to these questions means that an LP formulation might work.

    Commonly encountered LP’s include: Resource allocation.: (Assignment, Transportation, Trans-shipment, knapsack) ,Portfolio Allocation, Job Scheduling, and network flow problems.
    Here’s a good list of LP Applications for anyone new to LPs or IPs.
    That said, there are literally 1000s of different types of problems that can be formulated as LP/IP. The people I’ve worked with (researchers, colleagues) develop an intuition. They are good at recognizing that a problem is a certain type of an Integer Program, even if they don’t remember the details, which they can then look up.

    Why this question is tricky to answer:
    There are many reasons why it is not always straightforward to know if an LP formulation will cut it.

    1. There is a lot of “art” (subjectivity) in the approach to modeling/formulation.
    2. Experience helps a lot. People get good at recognizing that this problem can be “likened” to another known formulation
    3. Even if a problem is not a straight LP, there are many clever master-slave techniques (sub-problems), or nesting techniques that make the overall formulation work.
    4. What looks like multiple objectives can be combined into one objective function, with an appropriate set of weights attached.
    5. Experienced modelers employ decomposition and constraint-relaxation techniques and later compensate for it.

    How to Proceed to get the basic formulation done?

    The following has always steered me in the right direction. I typically start by listing the Decision Variables, Constraints, and the Objective Function. I then usually iterate among these three to make sure that everything “fits.”

    So, if you have a problem at hand, ask yourself:

    • What are the Decision Variables (DV)? I find that this is always a good place to start the process of formulation. How many types of DV’s are there? (Which resource gets which task, and when should it start?)
    • What are the Constraints?
      Some constraints are very readily visible. Others take a little bit of teasing out. The constraints have to be written in terms of your decision variables, and any constants/limits that are imposed.
    • What is the Objective Function?
      What are the quantities that need to be maximized or minimized? Note: Sometimes, it is not clear what the objective function is. That is okay, because it could well be a constraint-satisfaction problem.

    A couple of quick Sanity Checks once you think your LP formulation is done:

    1. I always try to see if a trivial solution (all 0s or all big
      numbers) is not part of the solution set. If yes, then the
      formulation is most probably not correct. Some constraint is
      missing.
    2. Make sure that each and every constraint is “related”‘ to
      the Decision Variables. (I occasionally find constraints that are
      just “hanging out there.” This means that a “bookkeeping constraint”
      has been missed.)

    In my experience, people who keep at it almost always develop the needed intuition. Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Delegates look like such a powerful language feature, but I've yet to find an
I look around and see some great snippets of code for defining rules, validation,
Please look at the code at the end to see the method I've been
For one reason or another, I sometimes find it useful or just interesting to
It might look silly, but I'm kind of confused about this now. Why this
When programming in Haskell (and especially when solving Project Euler problems, where suboptimal solutions
Profiling my code, i see a lot of cache misses and would like to
I have done an optimization with Pyevolve and after a look at the results
I do scientific image processing in MATLAB, which requires solving weird optimization problems with
using VS 2010 with full optimization /Ox look at the following two function calls:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.