+ Reply to Thread
Results 1 to 3 of 3

Linear Programming Formula for if statements

  1. #1
    Registered User
    Join Date
    10-10-2021
    Location
    England
    MS-Off Ver
    2016
    Posts
    1

    Linear Programming Formula for if statements

    Hi All,

    I have a linear programming problem with 4 constraints and I only require 3 of the constraints to be fulfilled, how would I input this into Excel Solver? Would there be an equation for this?

    Thanks

  2. #2
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Linear Programming Formula for if statements

    With solver you define a min or max cell, a number of adjustable cells and a number of constraints, so he'll find a solution, I don't see the problem.
    Please add an example.
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  3. #3
    Registered User
    Join Date
    09-14-2018
    Location
    China
    MS-Off Ver
    Office 2010
    Posts
    41

    Re: Linear Programming Formula for if statements

    You should add a set of binary decision variable to control the constraints.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with Linear Programming
    By Cadis in forum Excel General
    Replies: 1
    Last Post: 10-15-2014, 01:48 PM
  2. Solver add-in linear programming problem
    By Stewart723 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 05-11-2014, 01:17 PM
  3. Linear Programming
    By obbor in forum Excel General
    Replies: 2
    Last Post: 03-06-2012, 05:43 PM
  4. Linear Programming Question
    By ScabbyDog in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-05-2009, 09:06 AM
  5. [SOLVED] linear graphical method programming
    By Mohammed Elwakkad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-19-2005, 10:06 AM
  6. Linear Programming
    By Franklin in forum Excel General
    Replies: 2
    Last Post: 01-22-2005, 06:06 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1