## 15 Reputation

13 years, 119 days

## How to mark a response as an answer?...

@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

## How to mark a response as an answer?...

@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

## Hessian is too complex...

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.

Carlos Mallen

## Hessian is too complex...

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.

Carlos Mallen

## Insert execution group/split or join exe...

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

## Insert execution group/split or join exe...

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
﻿