Skip to main content
14-Alexandrite
Feb 7, 2025 10:30 PM UTC
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
Feb 8, 2025 1:14 AM UTC

Hi Carlos

x is a matrix so needs two indices:

Capture.JPG

Cheers

Terry

2 replies

terryhendicott
21-Topaz II
Feb 8, 2025 1:14 AM UTC

Hi Carlos

x is a matrix so needs two indices:

Capture.JPG

Cheers

Terry

Translate
14-Alexandrite
Feb 8, 2025 3:56 AM UTC

Thanks Terry.

Best regards,

CarlosRomero

Translate