+ Reply to Thread
Results 1 to 7 of 7

Set of inequalities

Hybrid View

  1. #1
    Registered User
    Join Date
    05-21-2014
    Posts
    3

    Set of inequalities

    Hi everyone,

    I've the following set of inequalities:
    x+y+z=1
    x+y+0.94z>=0.9
    x+y+0.94z<=1
    x+y+0.54z>=0.6
    x+y+0.54z<=0.75
    x+0.664y+0.3130z>=0.4
    x+0.664y+0.3130z<=0.55
    x+0.26y+0.228z>=0.2
    x+0.26y+0.228z<=0.35
    0.7360x+0.176y+0.09z>=0.12
    0.7360x+0.176y+0.09z<=0.22
    0.401x+0.05y+0.031z>=0.05
    0.401x+0.05y+0.031z<=0.1





    Anyway to solve it using Excel?

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,384

    Re: Set of inequalities

    I would probably treat this like a curve fitting/regression problem.

    1) In order to insure the 1st condition is met, solve for one of the variables (eg z=1-x-y) and substitute that into the other equations.
    2) Choose a result for each equation about in the middle of each range.
    3) Regress for the two unkowns using LINEST().
    4) Compute the third variable from the equation derived in (1).
    5) Compute each equation and verify that all conditions are met.

    This can also be done using Solver, if that fits better into what you are supposed to be learning with this problem.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Set of inequalities

    This is made to order for Solver:

    A
    B
    C
    D
    E
    F
    G
    H
    1
    x
    y
    z
    2
    0.0360
    0.3819
    0.5821
    3
    Set Cell to value
    4
    1.0000
    1
    D4: =x + y + z
    5
    6
    Constraints
    >=
    <=
    7
    0.9651
    0.90
    1.00
    D7: =x + y + 0.94*z
    8
    0.7323
    0.60
    0.75
    D8: =x + y + 0.54*z
    9
    0.4718
    0.40
    0.55
    D9: =x + 0.664*y + 0.313*z
    10
    0.2680
    0.20
    0.35
    D10: =x + 0.26*y + 0.228*z
    11
    0.1461
    0.12
    0.22
    D11: =0.736*x + 0.176*y + 0.09*z
    12
    0.0516
    0.05
    0.10
    D12: =0.401*x + 0.05*y + 0.031*z


    See http://www.solver.com/learn-how-use-...0-CF21bsfD_BwE or the many other resources on Frontline's web site.
    Last edited by shg; 05-21-2014 at 08:48 PM.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    05-21-2014
    Posts
    3

    Re: Set of inequalities

    Thank you for your quick responds.

    How can I find the constraints in paper?

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

  6. #6
    Registered User
    Join Date
    05-21-2014
    Posts
    3

    Re: Set of inequalities

    How can I find the constraints that satisfies x=0.05, y=0.3 and z=0.65?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Set of inequalities

    Those are the decision variables; they can have constraints, but none appear in your original statement.

    The solution set is the interior points of some prism ("3D polygon") bounded by all the separating planes formed by those relations.
    Last edited by shg; 05-22-2014 at 06:17 PM.

+ 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 VBA loops to find inequalities?
    By hadamhiram in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-30-2013, 10:53 PM
  2. Inequalities question.
    By jaredhawco in forum Excel General
    Replies: 2
    Last Post: 11-03-2008, 02:54 PM
  3. Making countifs reference inequalities
    By mremmenga in forum Excel General
    Replies: 1
    Last Post: 10-22-2008, 05:42 PM
  4. Graphing inequalities
    By miss meliss in forum Excel General
    Replies: 1
    Last Post: 04-30-2006, 04:50 AM
  5. [SOLVED] Can you use two inequalities with the IF function ie IF 10<E5<20.
    By CRICKETERRY in forum Excel General
    Replies: 4
    Last Post: 01-28-2005, 02:06 PM

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