Zeineb

520 Reputation

7 Badges

9 years, 67 days

MaplePrimes Activity


These are questions asked by Zeineb

Dear All

I need to minimize a quadratic function with constraints, but i get

Error, (in Optimization:-QPSolve) unexpected parameters


restart;
with(Optimization);
with(plots);

obj := (c0-x)^2+(c1-(2/3)*x-(1/3)*y)^2+(c2-(1/3)*x-(2/3)*y)^2+(c3-y)^2;
cnsts := 32*x+19*y = 15*c0+18*c1+15*c2+3*c3;
          Minimize(obj, cnsts);

I would like to obtain the optimal parameter ( x,Y) that satisfies the minimization problem with constraints , and the results must depend on c0,c1,c2 and c3. 

Many thanks for your help

 

 

 

Hi

Determine the extrema corresponds to a local minimum, maximum or
neither.

 

restart;
with(Optimization);

obj := 2*x^2+2*x*y+3*y^2;
  cts := [x+y = 2];
    Minimize(obj, cts);

    Maximize(obj, cts);

Maple display that there is no maximum, i d'ont understand why the maximum does not exist.

Many think

 

 

 

Dear all

How can I finish the attached code and I plot   the set of points (x[i],y[j], U[i,j]) 

U[i,j] represent the value of U at the position  (x[i],y[j])

Many thanks for your help

Plotsetofpoint.mw

 

Dear all

I have a system of PDes, the code i think it's well writte but when I use pdesolve i have no solution obtained.

Maybe I must add something else

Many thinks

sysPDes.mw

Dear all

I need a help to finish just two lines in my code:

1)How substitute condition in a system of equations

2) How solve the obtained system ( not a linear system)

3) If its possible to plot the set of points (x_i,y_j, u_{ij})

Many thanks for your help

codetosee.mw

First 35 36 37 38 39 40 41 Page 37 of 43