What is the 'correct' way to specify constraints on derived values in NMinimize?
Something like this:
f[x_]:= (y = timeIntensive[x]; another[y])
NMinimize[ {f[x], 0<=x<=1, y > 0}, x]
Something like this:
f[x_]:= (y = timeIntensive[x]; another[y])
NMinimize[ {f[x], 0<=x<=1, y > 0}, x]