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

  • Home
  • SEARCH
  • 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 7055121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:42:36+00:00 2026-05-28T03:42:36+00:00

I have a large scale linear programming problem. I can solve it within matlab

  • 0

I have a large scale linear programming problem. I can solve it within matlab using “linprog”. However, it is within a loop, and I need to bypass it from second iteration to end of my loop. It is a simple LP in the form of below:

Minimize sum a_i b_i
st. …

Where a_is are my variables and b_is are coefficients. In each loop iteration only b_is change slightly. I want the new values of my variables after this change. (please note that matlab does not use simplex method for large-scale problems).

Is there any way I can save my time in the loop and do not solve LP multiple times?

Thanks

  • 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-05-28T03:42:37+00:00Added an answer on May 28, 2026 at 3:42 am

    Note that Sensitivity Analysis for LPs/IPs is not one of MATLAB’s strengths.

    Option 1: If at all you can use CPLEX or SAS, they both have “warm-start” methods that will have your previous basis and come up with something fast. (This is true Sensitivity Analysis.)

    Here’s one IBM/CPLEX’s link to setting an initial solution.

    Similarly, SAS/OR also has warmstart options.

    Option 2: If you only have access to MATLAB

    From Matlab’s documentation, here’s how to “force” it to use Simplex.

    To use the simplex method, set 'LargeScale' to 'off' and 'Simplex' to 'on' in options.
    
    options = optimset('LargeScale','off','Simplex','on')
    

    Note: If the default Interior-point method is much better suited for your particular LP, first solve it as you are doing in iteration 1. Then set the Upper and Lower bounds of your basic variables to be the solution values, and now set linprog options to invoke Simplex. It will trivially solve it.

    Try switching the Solution engine to use simplex, and see if that helps in your second and subsequent iterations of the LP with slight changes to the coefficients.

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

Sidebar

Related Questions

On large-scale Java/.Net Enterprise projects, does every developer need to have all the components/libraries/dependencies
Another question in large scale programming: I have a job queue with time stamps
I am considering enabling Memcache support for my large-scale REST service. However I have
In my experience I have only had 2 patterns work for large-scale desktop application
I'd like to do large-scale regression (linear/logistic) in R with many (e.g. 100k) features,
So I currently have an application that is fairly complex with large-scale animations and
I'm developing a large scale application for iOS 5 using ARC in xcode. The
I'm currently implementing a histogram that will show a very large scale data using
I’ve been working on a few small scale Access projects that have turned large
The project that I'm currently working on, is large scale. I'm using email activation

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.