California Investment Network

Recent Blog

Pitching Help Desk


"This is to inform you that I have already obtained all the investment funds that I need to launch my project. I thank you for doing all you have done for me. I am thrilled beyond measure. Apparently I have a better idea than even I knew."
Jerry Johnston - Mega Clean

 BLOG >> Recent

Constraint Satisfaction: Part 1 [Creativity
Posted on January 28, 2016 @ 05:18:00 AM by Paul Meagher

In today's blog I want to begin exploring the concept of constraint satisfaction. Why? Because it is critical to understanding, both formally and informally, what creativity and design consist of.

An awareness of what your constraints are is important when it comes to designing anything. Design takes place within a set of constraints and the adequacy of a design is mainly determined by 1) whether you have your constraints right, and if so, 2) how good a fit your solution is to those constraints. Creativity is used to express these constraints and find a solution that is a good fit to these constraints.

A formal example of a constraint satisfaction problem is solving a set of linear equations. You may be familiar with solving linear equation problems from high school math.


x + y = 6
3x - y = 2

Solve for x and y.

One way to solve for x and y is by graphing each equation and finding out where they intersect. The point of intersection is the solution.

Using graphs is a good way to solve simple linear equation problems. If we add more equations with more terms then we need to use other techniques, such as Gaussian elimination or the Simplex algorithm, to solve this problem. There are powerful software tools, such as the GNU Linear Programming Kit (GLPK), that you can use to solve a variety of constraint satisfaction problems. I recommend you check out The GNU Linear Programming Kit, Part 1: Introduction to linear optimization (Part 2 and Part 3) to see how linear constraints can be formally expresses and optimal solutions found using this software. GLPK is the type of software you might use to create your own version of Uber or Lyft.

The purpose of today's blog was to illustrate that a central idea in design and creativity, constraint satisfaction, can be expressed in mathematical terms in some cases. When we do so it can be quite powerful. There is another approach to solving constraint satisfaction problems that can be found in landscape design, software design, and permaculture design called design patterns. In my next blog I'll explore the use of design patterns as a more informal approach to expressing and solving constraint satisfaction problems.

Note: The graph above is from p. 126 of a 1990 textbook by Robert J. Schalkoff called Artificial Intelligence: An Engineering Approach. Robert devoted a useful chapter to Constraint Satisfaction Problems and the application of the logic programming language Prolog to such problems. It is interesting to note that IBM's Watson, the Artificial Intelligence (AI) that beat all the best Jeopardy! champions, is partially implemented in Prolog. Prolog offers another software toolkit for formally expressing and solving certain types of constraint satisfaction problems.




 Agriculture [71]
 Bayesian Inference [14]
 Books [15]
 Business Models [24]
 Causal Inference [2]
 Creativity [7]
 Decision Making [15]
 Decision Trees [8]
 Design [36]
 Eco-Green [4]
 Economics [11]
 Education [10]
 Energy [0]
 Entrepreneurship [58]
 Events [2]
 Farming [20]
 Finance [25]
 Future [15]
 Growth [18]
 Investing [24]
 Lean Startup [10]
 Leisure [5]
 Lens Model [9]
 Making [1]
 Management [9]
 Motivation [3]
 Nature [22]
 Patents & Trademarks [1]
 Permaculture [34]
 Psychology [1]
 Real Estate [2]
 Robots [1]
 Selling [11]
 Site News [14]
 Startups [12]
 Statistics [3]
 Systems Thinking [3]
 Trends [7]
 Useful Links [3]
 Valuation [1]
 Venture Capital [5]
 Video [2]
 Writing [2]