Grasshopper

algorithmic modeling for Rhino

Linear programming in Rhinoceros (or Grasshopper)

I would like to solve a problem in linear programming (with objective function, necessary and possible constraints) such as for example: 

maximize    CTx      
subject to A x <= B
x >= 0

using as input objects in Rhinoceros (Rhinoceros for creating the input and displaying the result).

These are the options I've seen:

1. Link Grasshopper with Mathlab. This link helps for this: 

http://www.grasshopper3d.com/profiles/blogs/matlab-grasshopper

However, here I must learn Matlab for this, when I always used Python before. 

2. Rhinopython with libraries Numpy or Scipy should allow to do this things I guess. However, installing these libraries is, as far as I know, an impossible mission. Any happy story in this path?

Any third option?? Possibly simpler??

Thanks in advance!

Views: 521

Comments are closed for this blog post

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service