Skip to content

Instantly share code, notes, and snippets.

View tasseff's full-sized avatar

Byron Tasseff tasseff

View GitHub Profile
@tasseff
tasseff / COMPILE.md
Last active August 21, 2025 11:50
Compilation of Ipopt with SPRAL

This is a guide detailing the compilation of Ipopt with SPRAL as a linear solver. It was developed assuming a standard installation of Ubuntu 18.04 LTS. To begin, first, compile the LANL ANSI version of SPRAL using the compilation suggestions described therein.

Cloning the Repository

First, create a directory where Ipopt will be compiled from source (not via coinbrew), e.g.,

mkdir -p ${HOME}/Software

The remainder of this guide assumes such a directory has been created.

@tasseff
tasseff / write_circle_geojson.py
Last active March 10, 2017 18:23
Create a GeoJSON file with circular polygons.
#!/usr/bin/env python
import argparse
import geojson
import shapely.geometry.point
def write_circle_geojson(centers, radii, output_path):
centers = zip(centers[0::2], centers[1::2])
feature_array = []

Keybase proof

I hereby claim:

  • I am tasseff on github.
  • I am tasseff (https://keybase.io/tasseff) on keybase.
  • I have a public key whose fingerprint is 6A1C FD24 9A9A E94C C132 0B8C 6E9E 0BBD F621 B867

To claim this, I am signing this object:

@tasseff
tasseff / recursive_power.js
Last active May 23, 2022 06:38
A recursive power function in Javascript.
function power(base, exponent) {
if (exponent == 0)
return 1;
else
return base * power(base, exponent - 1);
}