Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Richárd Tóth
Richárd Tóth am 7 Aug. 2019
Kommentiert: Lucas Schaare am 25 Feb. 2022
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 Kommentare
Richárd Tóth
Richárd Tóth am 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 am 25 Feb. 2022
Hello,
were you able to solve this problem with 3D constraint matrix?
Thank you in advance.
Lucas

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Bruno Luong
Bruno Luong am 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 Kommentar
Richárd Tóth
Richárd Tóth am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Systems of Nonlinear Equations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by