Opened 13 years ago

Last modified 13 years ago

#1512 closed defect (fixed)

Optimize linear equations

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: high Milestone:
Component: Version:
Keywords: Cc: sjoelund.se, Frenkel TUD

Description

The following can be solved symbolically by the backend using gaussian elimination, but is not performed :(

model M
  Real x;
  Real y;
equation
  2*x + y/2 = 14.0;
  2*x - y/2 = 30.0;
end M;

Change History (2)

comment:1 Changed 13 years ago by sjoelund.se

These are now solved in SimCode, but the equation system is not optimal (yet). Jens is working on more optimizations for strongly connected components, so I am leaving this open still.

comment:2 Changed 13 years ago by Frenkel TUD

now this is handled by default (optimisation module constantLinearSystem) in the past optimisation phase 

Note: See TracTickets for help on using tickets.