Message Boards Message Boards

Error in FindMinimum for defined function of NIntegrate

Posted 3 years ago

HELLO,
I have a problem in FindMinimum , I defined 3 functions, Friedman function, the distance and chi square function , I imported the Data, But findMinimum of chi square is not working

Attachments:
POSTED BY: Dalale Mhamdi

Your syntax for FindMinimum is wrong. If you want to minimize over multiple variable they all need to wrapped in a list. Try

fminL=FindMinimum[chi[\[CapitalOmega]m,\[Omega]d,h],{{\[CapitalOmega]m,0.32,0.321},{\[Omega]d,-1.1,-0.99},{h,0.7,0.71}}]//AbsoluteTiming
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract