Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.8K Views
|
6 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solve or Reduce: large system of equations

Posted 11 years ago
POSTED BY: olayinka oyekola
6 Replies
POSTED BY: olayinka oyekola

The complexity of Solve is probably almost as high as the complexity of Reduce. I assume your equations are nonlinear so what you're trying to do is probably NP hard. It would be useful if the documentation for functions gave their complexity.

POSTED BY: Frank Kampas

Thanks Frank, but both Solve and Reduce appear to be finding it difficult to converge to a solution.

POSTED BY: olayinka oyekola

I believe MIchael Trott's book "The Mathematica Guide to Symbolics" says that Reduce is double exponential in complexity. That's why it is really only useful for problems with several variables.

POSTED BY: Frank Kampas

Bruce,

Thanks for your response. Solve is working for the simple examples in the documentation now.

Please advise on which is better Solve or Reduce if I have a system of 28 equations consisting of 41 unknowns (not including the parameters), but I want to solve these 28 equations for 28 endogenous variables in terms of the underlying structural parameters and the 13 exogenous variables? I would the results of each endogenous variables to be shown as analytical/algebraic expressions of the parameters and exogenous variables.

Thank you.

Yinka

POSTED BY: olayinka oyekola

Do you get output for simple inputs (2+3)?
Does Solve work for tiny examples (Solve[x+1==3,x]) ?
Do the examples in documentation work for you?

Do not put a semicolon after the Solve if you want output.

If none of that helps, please attach a notebook file with inputs and outputs, or lack of outputs.

POSTED BY: Bruce Miller
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard