title: OSQP solver in Python
body: <p>I have a question about a OSQP (Operator Splitting Quadratic Program)
  solver implementation:</p>
  <p>I'd like to use this to solve the quadratic problem with 10x10 matrix randomly generated.</p>
  <p>I tried the following:</p>
  <pre><code>import osqp
  import numpy as np
  from scipy import sparse
  
  
  # Define problem data
  P = sparse.csc_matrix(np.random.uniform(1, 10, size=(10, 10)))
  q = np.random.uniform(0, 9, size=10)
  Gs= np.random.uniform(0, 9, size=10)
  print(&quot;der Maßstab für Gs:&quot;, Gs)
  A = sparse.csc_matrix(np.diag(-1*Gs))
  l = np.zeros(10)
  
  
  # Create an OSQP object
  prob = osqp.OSQP()
  
  # Setup workspace and change alpha parameter
  prob.setup(P, q, A, l, alpha=1.0)
  
  # Solve problem
  res = prob.solve()
  </code></pre>
  <p>but there are just error with
  <code>ValueError: Workspace allocation error!</code></p>
  <p>do you have any idea what I did wrong?</p>
  <p>It works well when I use solver <code>cvxopt</code> and when I use the example code from the website.</p>
  <p>I changed a bit but it doesn't work at all.</p>