GeoDiak

15 Reputation

3 Badges

10 years, 104 days

MaplePrimes Activity


These are questions asked by GeoDiak

Hello,

Problem description

1) Define a function in terms of variables and parameters,

2) FInd the optimal solution

3) Plot the optimal solution in terms of a single parameter

 

Solution

What I have done is very basic since I haven't use Maple for many years. Here is an example

1) f(x;a,b,c):= ax^2+bx+c; (I don't knpw how to tell Maple that {a,b,c} is a set of parameters)

2) solve(f(x)=0,x); (I could use something like solve(f(x)=0,x,'parametric','real') but I am not interested in so detailed solution)

3) Here is my main problem. I want to save the first solution of x in optx(a;b,c) and the second in opttx(a;b,c) but I don't know how to do it (again, here a is my variable and b,c my parameters)

4) I also don't know hot to plot optx(a) as a increases, whereas the values of {b,c}={e.g., 2,3}

 

I would appreciate any resources/guidance 

Hello everyone

I observe the following "strange" case and I am wondering if I am missing something. So, any insights are more than appreciated. The case is the followin:

When I use

with(Optimization):
Interactive(x + y, {x = 0 .. 1, y = 0 .. 1, 1 <= x + y})

I get: objective =1, x=y=.5

However, If I run

with(Optimization):
Minimize(x + y, {x >=0,x<=1, y>=0,y<=1, 1 <= x + y})

then I get: objective =1, x=1, y=0

Why there is such a difference? Because of there are multiple solutions? 

I am wondering if there are examples of agent-based models in economics domain that have been implemented in Maple.

Any infomration/source is more than welcome!

 

Thanks in advance

Hello to everyone,

I want to solve the following inequality:

solve(b^4-(2-d)*b^2-2*d*b+1+d > 0, [b]), where b is my variable and d is a pamater in (0,1]. 

When I try to sovle this I get a message "Warning, solutions may have been lost" and from the official maple website they suggest to reformulate the problem.

Is there anything I can do to solve the above inequality?

 

Thanks in advance!

Page 1 of 1