Skip to main content
14-Alexandrite
Solved

Optimization problem

Hello everyone!

I’am trying to solve an optimización problem using minimize function but get an error “This variable is undefined”.

What am I doing wrong?

CarlosRomero

terryhendicott
21-Topaz II

Hi Carlos

x is a matrix so needs two indices:

Capture.JPG

Cheers

Terry

2 replies

terryhendicott
21-Topaz II

Hi Carlos

x is a matrix so needs two indices:

Capture.JPG

Cheers

Terry

Translate
14-Alexandrite

Thanks Terry.

Best regards,

CarlosRomero

Translate