In [1]:
using Convex
using SCS
using Plots
WARNING: Method definition norm(Convex.AbstractExpr, Symbol) in module Convex at /opt/julia_packages/.julia/v0.5/Convex/src/atoms/second_order_cone/norm.jl:45 overwritten at deprecated.jl:49.
In [2]:
include("plotregion.jl")
Out[2]:
PlotRegion
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)