Monthly Archives: February 2015

more on bad python

Python is very convenient because we don’t have to type each variable, but this can also lead to sloppy mistakes.  A common mistake occurs when two variables point to the same memory and operations on one variable also changes the … Continue reading

Posted in Uncategorized | Leave a comment

SDP and max-cut

Semi-definite programming generalizes linear programming. One standard definition of SDP is the following: such that and . Here are all matrices and the operation corresponds to entry-wise multiplication. An equivalent formulation of SDP is such that . So we can … Continue reading

Posted in Uncategorized | Leave a comment