Skip to main content
Became Hot Network Question
edited body
Source Link

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there were product bundles including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330a+b+f=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,b,f},{a,b,df},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,b,f},{a,b,df},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there were product bundles including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,f},{a,b,d},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,f},{a,b,d},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there were product bundles including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+f=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{d,b,f},{a,b,f},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{d,b,f},{a,b,f},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

edited body
Source Link

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there was awere product bundlebundles including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,f},{a,b,d},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,f},{a,b,d},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there was a product bundle including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,f},{a,b,d},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,f},{a,b,d},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there were product bundles including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,f},{a,b,d},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,f},{a,b,d},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

edited body
Source Link

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there was a product bundle including plane, hotel and car rental from alternative providers. Let say Airlines1 is Aa, Hotel1 is Bb, Rental1 is Cc, Airlines2 is Dd, Hotel2 is Ee and Rental2 is Ff. I was informed with only package prices such as:

    A+E+C=400a+e+c=400
    D+B+F=380d+b+f=380
    A+B+D=330a+b+d=330
    D+E+C=450d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, A=200a=200, B=100b=100, C=50c=50, D=250d=250, E=150e=150, F=30"f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{Aa,Ee,Cc},{Bb,Dd,Ff},{Aa,Bb,Dd},{Dd,Ee,Cc}}={400,380,330,450}

and

    LinearSolve[{{Aa,Ee,Cc},{Bb,Dd,Ff},{Aa,Bb,Dd},{Dd,Ee,Cc}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there was a product bundle including plane, hotel and car rental from alternative providers. Let say Airlines1 is A, Hotel1 is B, Rental1 is C, Airlines2 is D, Hotel2 is E and Rental2 is F. I was informed with only package prices such as:

    A+E+C=400
    D+B+F=380
    A+B+D=330
    D+E+C=450

My friend defined a matrix in wolframalpha and wolframalpha came up with a result such as "There is one possible solution, A=200, B=100, C=50, D=250, E=150, F=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{A,E,C},{B,D,F},{A,B,D},{D,E,C}}={400,380,330,450}

and

    LinearSolve[{{A,E,C},{B,D,F},{A,B,D},{D,E,C}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Many years ago a friend of mine solved a product package problem for me. Now I am struggling to recreate the notation. The problem was there was a product bundle including plane, hotel and car rental from alternative providers. Let say Airlines1 is a, Hotel1 is b, Rental1 is c, Airlines2 is d, Hotel2 is e and Rental2 is f. I was informed with only package prices such as:

    a+e+c=400
    d+b+f=380
    a+b+d=330
    d+e+c=450

My friend defined a matrix in wolframalpha.com and wolframalpha came up with a result such as "There is one possible solution, a=200, b=100, c=50, d=250, e=150, f=30"

Now I am trying to replicate the solution again but I am unsuccessful with the syntax. What I've tried so far:

    {{a,e,c},{b,d,f},{a,b,d},{d,e,c}}={400,380,330,450}

and

    LinearSolve[{{a,e,c},{b,d,f},{a,b,d},{d,e,c}},{400,380,330,450}]

Could anyone help me please with the correct syntax for the desired solution?

Source Link
Loading