It is exactly like this case @Chaitanya Sanghavi
I have two contraint variables, lets call them d -diameter and Youngs modulus - E. (d, E are constraint within certain limits)
I want to minimize the stress- "S" induced in the structure depending on "d" and "E".I do not have a direct relationship of S with "d" and "E". I have a big computational model with many functions and scripts. For a specific set of d and E it returns me S.
function [S] = optimize(d,E)
...
...
... FEM model (quite big)....
...
S = 10log10(Incident Load (d,E)/Transmitted Load(d,E));
% Incident Load depends on d,E but this relationship is not known and too complicated to know.
% Transmitted Load depends on d,E but this relationship is not known and too complicated to know.
end