Skip to content

Instantly share code, notes, and snippets.

@jonniedie
jonniedie / mtk_optimal_control.jl
Last active March 15, 2021 16:23
Optimal Control
using DifferentialEquations
using ModelingToolkit
# Time and time derivative
@parameters t
D = Differential(t)
# Forced Duffing oscillator
function Duffing(; name)
@parameters α β

Build tensorflow on OSX with NVIDIA CUDA support (GPU acceleration)

These instructions are based on Mistobaan's gist but expanded and updated to work with the latest tensorflow OSX CUDA PR.

Requirements

OS X 10.10 (Yosemite) or newer