An example of using Gurobi to compute a support vector machine
-
Start Python's webserver from the command line
make
-
Point your browser at http://localhost:8000
-
Add points of different types (red and green).
-
Click "Compute Classificiation" to solve the SVM optimization problem.
To just solve the model (without running a web server) do:
make test
The idea for this example was based on the libSVM page and the model definied in pg. 423 of Convex Optimization Stephen Boyd and Lieven Vandenberghe