Sunday, August 22, 2010

Tips to improve constraint solver performance !!!

Performance issues are very hard to debug, especially to find the root cause of the issue. If the constraint solving time is at unacceptable limits, the first area to debug is the bidirectional nature of the constraint implemented. quickly review the constrains that does not require bi-directional functionality and convert constraints from bidirectional to unidirectional using void termination or solve before, also reduce the number of constraints solved at a single point of time to improve performance.

2 comments:

Vishnu Prasanth said...

By nature all the constraints are Bi-directional.
How can you change the constraints from Bi-directional to uni-directional. Can you explain with example.

Saravanan said...

you can make it uni-directional by using void termination or using solve before. See this post for details

http://art-of-verification.blogspot.com/2010/12/uni-directional-bi-directional.html