Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Richárd Tóth
Richárd Tóth il 7 Ago 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 il 25 Feb 2022
Hello,
were you able to solve this problem with 3D constraint matrix?
Thank you in advance.
Lucas

Accedi per commentare.

Risposte (1)

Bruno Luong
Bruno Luong il 7 Ago 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 Commento
Richárd Tóth
Richárd Tóth il 7 Ago 2019
I have more than 1 inequality, all of them looks similar to the others, like this
phi_phi2,phi3 correspond to 's

Accedi per commentare.

Categorie

Scopri di più su Systems of Nonlinear Equations in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by