Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 MATLAB 上解决二元最小化问题,而不是方程约束,而是模约束,也就是说,而不是 A*x=b,例如 A*x=b (mod 2)?我试过使用 bintprog,但不知道如何添加这个条件。是否有二进制非线性规划的求解器?
不,你不能,因为 mod 2 不是线性运算符。bintprog 仅用于线性方程。