Tag: Math

Some more Lagrangian Problems…

This the continuation to the¬†first set of Lagrangian problems/solutions. While it might be a bit foolish to solve such problems, there are a few reasons why they were done: Its good practice to solve some problems that are a little bit different from the norm. It’s good to be forced to think in different ways …

Solving the Stigler Diet problem with Gurobi, CPlex, and Glop

First some of the motivation behind this this small project: A while ago I did some optimization work and this project is to ‘awaken some knowledge’ so I can eventually work on some more complicated optimization projects When I did do some optimization work, I had a lot of difficulties with different solvers on the …

Python Linear Regression with SciPy, SciKitLearn, TensorFlow1, and TensorFlow2

This is more of a reference for myself on the multitude of ways that something as computing simple linear regression can be done with Python, SciKitLearn, TensorFlow1, and TensorFlow2. Also, this is a bit of a stepping stone type of project, where the next steps involve non-linear regression, multi-non linear regression in the form of …

Fourier Series plots…

Back in my TA days (or daze), I helped out on one course that was a mix of numeric methods and MatLab programming. Most students were ok, but there was a bit of a struggle with the Fourier series. Perhaps it was a problem with the integration or it was general issues with their math …

Chaos Game… with some variations

I was always fairly amused with the fractals created by the chaos game. Given the current state of things, I thought it would be good to stay busy and keep my programming skills active. This time I wrote implementations for/in: Python, C# .Net console app, and Javascript. The chaos game is not actually a board …

Bifurcation Diagrams… (x4)

A little while ago I noticed a few posters in the office I used to work in had a bunch of graphs with the occasional presence of a bifurcation element amidst the plethora of information they presented. I tried to read and follow all of these posters but none of them lead to the reason …