Geesara Kulathunga

  • Gurobi-versary
  • First Question
  • 合計アクティビティ 6
  • 前回のアクティビティ
  • メンバー登録日
  • フォロー 0ユーザー
  • フォロワー 0ユーザー
  • 投票 0
  • サブスクリプション 3

アクティビティの概要

Geesara Kulathungaさんの最近のアクティビティ
  • Geesara Kulathungaさんが投稿を作成しました:

    How can I formulate QP problem?

    I want to program this, still not clear how to embed multiple optimization variables.

  • Geesara Kulathungaさんが投稿を作成しました:

    How can we set a objective function in setObjective

    import numpy as npimport scipy.optimizeimport gurobipy as gphalfspaces = np.array([[-0.513574, 0.858045 , 0,1.99106],[0.513574 ,-0.858045 , -0,2.00894],[-0.856348 , -0.512558, -0.0628725, 3.28365],...

  • Geesara Kulathungaさんが投稿を作成しました:

    My LP model does not give expected answer

    回答済み

    import gurobipy as gpfrom scipy.optimize import linprogimport numpy as nplp_m = gp.Model()w = np.array([1., 5., 1.])halfspaces = np.array([[1.*w[0], 1.*w[1], 1.*w[2], -10 ],[ 1., 0., 0., -4],[ 0., ...