Search found 4 matches

by giovannixasssn
2 months ago
Forum: Syntax
Topic: nonlinear problem
Replies: 5
Views: 378

Re: nonlinear problem

error in eqproft line $title AIRLINE COMPANY PROBLEM SET i 'flight' / business, leisure / Parameter a(i) / business 600 leisure 450 / b(i) / business -4 leisure -1 /; VARIABLE cost price(i) "p1,p2" profit income(i) Scalar f "numbers of seats" / 260 /; Positive Variable price,quantity; Equation eqcos...
by giovannixasssn
2 months ago
Forum: Syntax
Topic: nonlinear problem
Replies: 5
Views: 378

Re: nonlinear problem

i have problems in eqquantity(i) An airline operates the San Francisco-Los Angeles route. The demand for each flight clearly has two distinct components. There is a demand for business, with a price that responds to the curve p = 600-4q and a demand for leisure: p = 450-q. The costs of the company a...
by giovannixasssn
2 months ago
Forum: Syntax
Topic: nonlinear problem
Replies: 5
Views: 378

Re: nonlinear problem

when I divide by 3, I want to get the quantities

eqcost.. cost =e= sum(i, quantity(i),*3+5)); in this line i still have the error 8
by giovannixasssn
2 months ago
Forum: Syntax
Topic: nonlinear problem
Replies: 5
Views: 378

nonlinear problem

Hello friends, i have to make this problem, i have errors while doing the equations. can you halp me out? An airline operates the San Francisco-Los Angeles route. The demand for each flight clearly has two distinct components. There is a demand for business, with a price that responds to the curve p...