Arie Bregman

Linux And Stuff

Month: September 2017

Linear Programming: Graphical Method

In this post, we’ll see how to solve a Linear Programming problem using the graphical method.

The graphical method consists of two main phases:

  1. Finding the solution space (the space where we have all the valid solutions) by drawing each constraint.
  2. Finding the optimal solution – a solution that will give us the maximum value for the objective function.

Let’s solve the following problem:

Continue reading

jQuery Datatable Ajax: Change cell’s HTML after data is processed

The Problem

You generated a table using jQuery Datatable without loading the page, using Ajax. You wish to change the HTML of cells in a certain column after the data is processed. How to do it?

For the sake of this example, we’ll say we want to switch the data in the first column of the table into a hyperlink.

Continue reading

© 2017 Arie Bregman

Theme by Anders NorenUp ↑