Generating binary linear programming matrix
显示 更早的评论
How can I generate the Matrix A that is defined by the following mathematical formula, for an n=2.
The examples below are for n=2 so the dimension of A will be for the row 3*n=6 for column will be n^3=8 hence A6x8
I want to create a function where I input the number n and get an output A. I wish to use A as an input to a Branch and Bound method.
I provide two examples for A that I have worked out manually.


采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!