Items tagged with warning

Morning all,

I repeatedly solve (command solve) a collection of systems of inequalies. Some of them can have no solution, but I am able to check if a solution has been found or not, and then take some decision about the system in question.

I have placed a few print commands at different critical locations within the loop where those systems are constructed and possibly solved.
Every time solve fails finding a solution it returns me a "no solution found" warning.
In order to keep my printings readable, could it be possible to avoid those warnings ?
Is there some "try & catch" like mechanism to manage warnings ?

Thank you all in advance

What can i do in this case? I,m traying solve a system of non linear equation like this, i want to know Rs and Rsh:


I have a PDE system. When I use pdsolve it gets me the messege " pdsolve->Warning: System is inconsistent". Is there a way I can see which equations breaks the system down? 
For this system, it's difficult to see from ayeball where the problem is. 
Thank you!

In a Maple Primes reply by Joel Riel on Sept. 14, 2011 he included the following command referring to warnings issued from a dsolve, numeric command having events containing a halt action:

_Env_in_maplet := true:  # incantation to suppress integrator warnings

Where can if find explanatory help for his command and any others of a similar nature?

Dear all,


I know the solve command is somehow limited, and it cannot find the solution for all equations.

But I have two equations which must be solved and I am desperately looking for solutions!


My equations are listed below:

f1:= (1/2)*x + (2*alpha*beta*(x^2+3*y^2)^beta*x^2/(x^2+3*y^2) ) -(3/2)*y - (1/2)*alpha*(x^2+3*y^2)^beta = kappa*rho*c0^2

f2:=-(1/2)*y+ (2*alpha*beta*(x^2+3*y^2)^beta*y^2/(x^2+3*y^2) ) -(1/2)*x - (1/2)*alpha*(x^2+3*y^2)^beta = 0

I need to find x and y in terms of alpha and beta.

The other parameters are known.

But of course, maple gives me the warning: "Warning, solutions may have been lost".

Does anybody have any suggestion?



 How get another solutions ? f:=exp(x2*(a-x))

how to plot ln(sqrt(x-12)/(-x^(2)+15x)

Whenever I try to plot I get 

"Warning, unable to evaluate the function to numeric values in the region; complex values were detected".



is it possible to remove this warning and not to show it when executing a procedure ? 

Warning, `AzIII` is implicitly declared local to procedure `lisse`


Hello everyone, 

I have some problems with the "isolve" command on Maple. I am trying to solve for integer a very easy system of equations. When I type the commands



n := 2;
isolve({sum(a[k], k = 1 .. n)-1 = 1}, d)

I get the expected {a[1] = 2-d, a[2] = d}. However, if I add conditions a[1],a[2] >= 0, that is the commands

n := 2;
isolve({ge(a[1], 0), ge(a[2], 0), sum(a[k], k = 1 .. n)-1 = 1}, d)

I get the warning "Warning, solutions may have been lost". What am I doing wrong? Is there a way to get Maple to give me the possible values?


Thank you in advance,


This is the code

This is the warning 

Warning, The use of global variables in numerical ODE problems is deprecated, and will be removed in a future release. Use the 'parameters' argument instead (see ?dsolve,numeric,parameters )"


How to solve it?

Hi all,


I tried to find the real solution of the unlinear integral equation:


exp(-h^2/T)*(Int(exp(-x^2/T)*BesselI(0, h*x/T)*x, x = 0 .. 1))/T


but I got the warning and an complex solution:


 solve(subs(T = 1, eq)-.99 = 0, h)

Warning, solutions may have been lost



Can anyone help me to find a real solution for this issue (if possible)...?

I would like to thank you in advance.


Hi all,

epsilon:=5:Delta1:=2:Delta2:=-4: N1:=1000:
dsys :={diff(x(t),t)=-I*Delta1*x(t)+y(t)+epsilon, diff(y(t),t)=-I*Delta2*y(t)+x(t)*z(t), diff(z(t),t)=-2*(conjugate(x(t))*y(t)+conjugate(y(t))*x(t))};

res:=dsolve(dsys union {x(0)=2*I,y(0)=0,z(0)=1},numeric,output=listprocedure);


/ d
{ --- x(t) = -2 I x(t) + y(t) + 5,
\ dt

--- y(t) = 4 I y(t) + x(t) z(t),

d ____ ____ \
--- z(t) = -2 x(t) y(t) - 2 y(t) x(t) }
dt /
plots[odeplot](res,[[t,Im(y(t))]],0..200,axes=boxed,titlefont=[SYMBOL,14],font=[1,1,18],color=black,linestyle=1,tickmarks=[3, 4],font=[1,1,14],thickness=2,titlefont=[SYMBOL,12]);
Warning, cannot evaluate the solution further right of 90.013890, maxfun limit exceeded (see ?dsolve,maxfun for details)

when I increase the time give this msn:

Warning, cannot evaluate the solution further right of 90.013890, maxfun limit exceeded (see ?dsolve,maxfun for details)

I am using QPSolve for a very large matrix. Before printing the answer, Maple gives me the following warning

"Warning, necessary conditions met but sufficient conditions not satisfied".

Does it mean that the solution is feasible, but not optimum?

hi guys , i have this warning for solving a complicated equation with 7 parameters. how can i overcome to this warning ?


odesys := {(1/4)*(-4*r^(2+p+a)*p*a-11*r^(2+a+c)*a*c-4*r^(2+p+c)*p*c+22*r^(2+a+n)*a*n+8*r^(2+p+n)*p*n-22*r^(2+a+c)*a+8*r^(2+p+a)*p-8*r^(2+p+c)*p+22*r^(2+b)*b+32*r^(2+p)*p^2+32*r^(2+p)*p+22*r^(2+b)*b^2+22*r^(2+2*a)*a+65*r^(2+2*a)*a^2-8*r^(2+p+c)*p^2+8*r^(2+p+a)*p^2-22*r^(2+a+c)*a^2)/r^4+(1/4)*(4*r^(a+n)*n^2-2*r^(n+c)*n*c-4*r^(n+c)*n^2+3*r^(2*n)*n^2-4*r^(a+c)*c+8*r^(a+n)*n+4*r^(2*c)*c-8*r^(n+c)*n+4*r^m*m^2-4*r^d*d+8*r^m*m+4*r^m-4*r^d)/r^2}



res := op(odesys);



SOL1 := solve(identity(res = 0, r), {a, b, c, d, m, n, p})

Warning, solutions may have been lost






I am trying to optimize a 39, 1 MATLAB matrix, but cannot seem to get a result beyond a 6, 1 matrix. I am getting "Warning, cannot resolve types, reassigning t##'s type" where t## varies from each time I run it, and can show multiple of these warnings. It also says "Warning, cannot translate list".


I found a pretty similar problem posted here earlier, where the user "Carl Love" suggested to replace a command from the original code with

     subsop([-1,1]= J, eval([codegen:-optimize](tmp, tryhard), pow= `^`)),
     output = string, defaulttype = numeric


I was wondering what exactly this command does? Can I apply it to my code to solve my problem? It yielded a result that looks (on the surface) as an optimized code, but I don't feel completely comfortable using it without being certain.

What I have done is simply to replace Matlab(tmp, optimize) with the suggested code above. My code is attached. Thanks in advance for any help.

1 2 Page 1 of 2