Opened 14 years ago

Last modified 14 years ago

#1512 closed defect (fixed)

Optimize linear equations

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund, 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 by Martin Sjölund, 14 years ago

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 by Jens Frenkel, 14 years ago

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

Note: See TracTickets for help on using tickets.