How to Get the Dual Problem of a Linear Programming Problem
Posted on
Edited on
Word count in article:
1.1k
Reading time ≈
4 mins.
Use Gurobi in Python to Solve Integer Programming Problems
Posted on
Edited on
Word count in article:
629
Reading time ≈
2 mins.
Use OR-Tools in Python to Solve Mixed Integer Programming Problems
Posted on
Edited on
Word count in article:
312
Reading time ≈
1 mins.
-
This is an introduction to Google OR-Tools:
-
This is the official tutorial for solving optimization problems in Python:
https://developers.google.com/optimization/introduction/python.
Now, let's use this tool to solve a simple mixed integer programming problem in Python.
Install the OR-Tools Library
1 | pip install ortools |
Use the CPLEX Library in Python to Solve Linear Programming Problems
Posted on
Edited on
Word count in article:
530
Reading time ≈
2 mins.
Calculate Permutations and Combinations of Elements Using Python
Posted on
Word count in article:
848
Reading time ≈
3 mins.
itertools.combinations
Generates all possible combinations of elements of a specified length:
C(5,2)
1 | import itertools |
The output is as follows:
Commonly Used Plotting Functions in the Python-OpenCV Library
Posted on
Edited on
Word count in article:
806
Reading time ≈
3 mins.
Hexo NexT Theme Configuration
Posted on
Edited on
Word count in article:
933
Reading time ≈
3 mins.
How to Build a Personal Website with Github and Hexo
Posted on
Edited on
Word count in article:
241
Reading time ≈
1 mins.
Install Node.js and Git
First, you'll need to install Node.js and Git, download and install the Node.js from [here](Node.js — Run JavaScript Everywhere (nodejs.org)).
You can check if the Node.js and Git installation are successful by typing these:
1 | git version |