Sheet solver

Declare your variables using =CSP_INT(range, min, max) or =CSP_DOMAIN(range, domain_range) anywhere in the sheet. Add boolean constraints like =A4>1, =OR(A1=1, B1=1), or =SUM(R1:R3)=3 anywhere else. Use =DIFFERENT(range) for a constraint that values in the range are pairwise different. Supported operators/functions: AND, OR, SUM, ABS, NOT, =, <, >, <>, <=, >=.

The solver needs access to the spreadsheet - made it publicly writeable or add sheetsolver-1605455229083@appspot.gserviceaccount.com as editor.