Clear Filters
Clear Filters

Fseminf can't be used if the constraints' dimsion is higher than 2?

2 views (last 30 days)
Hello
What can you do if the constraints have higher dimension than 2?
Here
is the 2D example, but in my problem I have products like ... . Not exactly this but the point is that I have n number of and I have to multiply all of them(not only 2 of them).
  5 Comments
Richárd Tóth
Richárd Tóth on 7 Aug 2019
Seems like transforming the constraint matrix into a lower dimension form doesn't work, I tried adding this line after K1 is assigned in the two dimensional example
K1=K1(:);
and the solution I get from fseminf is not a valid solution even though the matrix elements are the same.
[c,ceq,K1] = mycon(x,[0.5,0.5]); % Sampling interval 0.5
max(max(K1))
returns a positive number
Lucas Schaare
Lucas Schaare on 25 Feb 2022
Hello,
were you able to solve this problem with 3D constraint matrix?
Thank you in advance.
Lucas

Sign in to comment.

Answers (1)

Bruno Luong
Bruno Luong on 7 Aug 2019
If you have one inequality (doesn't matter how the lhs is computed, with finite or infinite series or products), then you have ONE constraint.
  1 Comment
Richárd Tóth
Richárd Tóth on 7 Aug 2019
I have more than 1 inequality, all of them looks similar to the others, like this
phi_phi2,phi3 correspond to 's

Sign in to comment.

Categories

Find more on Systems of Nonlinear Equations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!