Gurobi Support Portal Help Center home page
Community Submit a request
Sign in
  1. Gurobi Support Portal
  2. Knowledge Base
  3. Modeling
  4. Python Matrix API

Python Matrix API

Follow New articles New articles and comments

Gurobi v9 introduced a matrix API in Python.

  • How do I pointwise multiply a scalar vector and an MVar with the matrix-friendly Python API?
  • How do I multiply an array and a 2-D MVar object using the matrix-friendly Python API?
  • How do I multiply two MLinExpr objects together with the matrix-friendly Python API?
  • How do I pointwise multiply two MVars with the matrix-friendly Python API?
  • How do I pointwise multiply a numpy vector with a (1,) MVar with the matrix-friendly Python API?
Gurobi Optimization
Powered by Zendesk