Group Abstract Group Abstract

Message Boards Message Boards

0
|
505 Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

How to set constraints for QuadraticOptimization

Posted 3 months ago
POSTED BY: S G

The ax term in ax+b>= 0 is matrix multiplication, not scalar. I would try

a = IdentityMatrix[9];
b = Table[0, 9];
a . Array[x, 9] + b
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard