Category Archives

Archive of posts published in the category: Math

ILP Part 30 — Sudoku

This is the thirtieth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hello! Today we are going to solve Sudoku using ILP. Description In Sudoku we need…

ILP Part 29 — Nonograms

This is the twenty ninth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hello! Today we are going to solve nonograms using ILP. Task description Nonograms are…

ILP Part 28 — Using ILP in .NET

This is the twenty eighth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi! Today we are going to use ILP in .NET. We will check few…

ILP Part 27 — Einstein’s five houses riddle

This is the twenty seventh part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi! Today we are going to solve Einstein’s five houses riddle using ILP! Introduction…

ILP Part 26 — Students Placement Problem Part 9 — Coefficients

This is the twenty sixth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hello! Today we are going to discuss the case of coefficients for cost function.…

ILP Part 25 — Students Placement Problem Part 8 — Unlucky person

This is the twenty fifth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hello! This time we implement another part of our cost function, the happiness of…

ILP Part 24 — Students Placement Problem Part 7 — Teams

This is the twenty fourth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hello. Today we are going to handle teams in our cost function. We already…

ILP Part 23 — Students Placement Problem Part 6 — Days off

This is the twenty third part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi all! Last time we saw how to handle continuous classes for students. Today…

ILP Part 22 — Students Placement Problem Part 5 — Continuous Classes

This is the twenty second part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Last time we saw how to include preferences points in the cost function. Today…

ILP Part 21 — Students Placement Problem Part 4 — Basic cost function

This is the twenty first part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra So far, we have defined constraints which make our final solution “feasible”. The students…

ILP Part 20 — Students Placement Problem Part 3 — Useful constraints

This is the twentieth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Last time we defined necessary constraints for students placement problem. Today we are going to…

ILP Part 19 — Students Placement Problem Part 2 — Necessary constraints

This is the nineteenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra In previous part we introduced Students Placement Problem. Today we start implementing it using ILP.…

ILP Part 18 — Students Placement Problem Part 1 — Introduction

This is the eighteenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi! In this part of ILP series we start another series — Students Placement Problem.…

ILP Part 17 — Solving Lonpos 505 Puzzle

This is the seventeenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi all. Today we are going to solve another riddle, called Lonpos 505 Puzzle. It…

ILP Part 16 — Solving cube riddle

This is the sixteenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Hi all. Today we are going to use ILP to solve a cube riddle. This…

ILP Part 15 – Basic set operations

This is the fifteenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Today we are going to use comparisons to implement few basic set operations. Let’s go.…

ILP Part 14 – Comparing real numbers

This is the fourteenth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra We already know how to compare integer values and today we are going to extend…

ILP Part 13 – Factorial

This is the thirtieth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Today we are going to implement something simple — Factorial function. We will use tricks…

ILP Part 12 – Exponentiation

This is the twelfth part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra In Part 3 we saw how to calculate exponentiation with constant exponent. Today we are…

ILP Part 11 – Counting Sort

This is the eleventh part of the ILP series. For your convenience you can find other parts in the table of contents in Part 1 – Boolean algebra Last time we implemented a selection sort in ILP. Today we are going to do…