# Solve minimization problem where constraint is the system of linear inequation with MathOptInterface efficiently

**URL:** https://discourse.julialang.org/t/solve-minimization-problem-where-constraint-is-the-system-of-linear-inequation-with-mathoptinterface-efficiently/23571
**Category:** Optimization (Mathematical)
**Tags:** optimization
**Created:** [April 26, 2019, 5:23pm UTC](https://discourse.julialang.org/t/solve-minimization-problem-where-constraint-is-the-system-of-linear-inequation-with-mathoptinterface-efficiently/23571 "2019-04-26T17:23:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Yuya-Furusawa](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yuya-furusawa/32/11585_2.png) [@Yuya-Furusawa](https://discourse.julialang.org/u/Yuya-Furusawa)
#### Post date: [April 27, 2019, 7:27am UTC](https://discourse.julialang.org/t/solve-minimization-problem-where-constraint-is-the-system-of-linear-inequation-with-mathoptinterface-efficiently/23571/3 "2019-04-27T07:27:38Z")

</div>

Sorry, I said “inefficient” because it takes long time when the matrix A is large. (Is it true?)  
Also, I think the code looks sophisticated when I use `VectorAffineFunction`.  
I just want to know how to use `VectorAffineFunction`.

---

_[View the full topic](https://discourse.julialang.org/t/solve-minimization-problem-where-constraint-is-the-system-of-linear-inequation-with-mathoptinterface-efficiently/23571)._
