Carlos Mallen

15 Reputation

3 Badges

12 years, 192 days

MaplePrimes Activity


These are replies submitted by Carlos Mallen

@Robert Israel I had the feeling that would be the answer, trying the Hessian over a range of values.

How do I mark your response, as well as that of the other person, as answer?

Cheers,

Carlos Mallen

@Robert Israel I had the feeling that would be the answer, trying the Hessian over a range of values.

How do I mark your response, as well as that of the other person, as answer?

Cheers,

Carlos Mallen

Hi,

By function I mean something like f(x, y) = x^2 +y^2. My target function is different, of course.

The path I followed was calculating the Hessian and then testing for positive semidefiniteness. The problem is that the Hessian is too complex, as well as the result of the IsDefinite function. The function I'm trying to optimize involves a lot of variables and I don't think it'll be easy to analyze the Hessian.

I was wondering if there was something like IsConvex that returned true of false. To this regard, I saw a Convex function from the VariationalCalculus package, but didn't understand the example in the Maple help page.

Tahnks for your time,

Carlos Mallen

Hi,

By function I mean something like f(x, y) = x^2 +y^2. My target function is different, of course.

The path I followed was calculating the Hessian and then testing for positive semidefiniteness. The problem is that the Hessian is too complex, as well as the result of the IsDefinite function. The function I'm trying to optimize involves a lot of variables and I don't think it'll be easy to analyze the Hessian.

I was wondering if there was something like IsConvex that returned true of false. To this regard, I saw a Convex function from the VariationalCalculus package, but didn't understand the example in the Maple help page.

Tahnks for your time,

Carlos Mallen

Thanks for the answer. It's good to know that I was making no mistake.

I'm returning to Maple after several years, and what I wanted to do, was inserting execution groups and then joining them. Options for doing this are on the Edit and Insert menus.

I wanted my code to look like this:

>MyName:=proc()

>    "Carlos";

>end proc;

Kind regards,

Carlos Mallen

Thanks for the answer. It's good to know that I was making no mistake.

I'm returning to Maple after several years, and what I wanted to do, was inserting execution groups and then joining them. Options for doing this are on the Edit and Insert menus.

I wanted my code to look like this:

>MyName:=proc()

>    "Carlos";

>end proc;

Kind regards,

Carlos Mallen

Page 1 of 1