In [19]:
using Convex
using SCS
using Plots
In [2]:
include("plotregion.jl")
Out[2]:
In [3]:
A1 = [-2.0 1;
-1 2;
1 0]
b = [2.0; 7; 3]
A = [A1 eye(3)] # form the problem with slacks.
PlotRegion.plotregion(A,b)