Richard Liu

Gurobi-versary
First Comment
First Question
  • Total activity 8
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 3

Activity overview

Latest activity by Richard Liu
  • Richard Liu commented,

    here is the MRE:   import matplotlib.pyplot as plt import numpy as np import gurobipy as gp from gurobipy import GRB import random import seaborn as sns   #parameters predefinition and declaration ...

  • Richard Liu created a post,

    not supported between float and generator

    Answered

    whats wrong with this code the arrow refers to?gurobi says '<=' not supported between instances of 'float' and 'generator'.

  • Richard Liu created a post,

    how to set the optimization target to a constant

    Answered

    i want to find a feasible solution for a complex problem(just to find a feasible solution,not optimal),then terminate the solution process.So I want to set the objective to a constant(e.g.the integ...

  • Richard Liu commented,

    thanks,the problem has been fixed.another problem emerged:GurobiError:problem adding constraints.gurobi says" DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and...

  • Richard Liu created a post,

    problem during trying to solve a bilinear problem

    Answered

    i want gurobi to solve a optimization problem with a bilinear term.In the highlighted row of code,u and w are both variables,u is 24*1 vector,w is 168*1 vector.But gurobi says 'MLinExpr' object has...