I am solving to problem that related to optimization stages of something under given constraints. So far I have done some literature review and found that this kind of problem is termed as Constraint Satisfaction Problem.However, myself think that it may be solved by using SQL command to search for given conditions instead. Those who know what methadology should I use please advise. If the search algorithm are useless, why they were invented ? why don't we use sql query solving every problem?
Thanks in advance