Only feasible point for intlinprog

조회 수: 1 (최근 30일)
Jiazhen Zhou
Jiazhen Zhou 2020년 5월 11일
댓글: Jiazhen Zhou 2020년 5월 15일
I am working with a large integer programming problem, which may take huge amount of time to complete the program. I would only like to get some feasible integer point in the constraint set rather than solving the optimization problem. Is there options in intlinprog can achieve this?

답변 (1개)

Alan Weiss
Alan Weiss 2020년 5월 12일
Sure, you are free to use the built-in 'savemilpsolutions' output function to collect the solutions, and eiither give a random or no objective function vector. I believe that giving a random objective function vector can, in some cases, help the solver, but you are free to leave the objective out entirely if you like. See the documentation for the f argument.
Alan Weiss
MATLAB mathematical toolbox documentation
  댓글 수: 1
Jiazhen Zhou
Jiazhen Zhou 2020년 5월 15일
Thank you. that solves my problem.
Jiazhen.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by