MATLAB Answers

Only feasible point for intlinprog

5 views (last 30 days)
Jiazhen Zhou
Jiazhen Zhou on 11 May 2020
Commented: Jiazhen Zhou on 15 May 2020
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?

  0 Comments

Sign in to comment.

Answers (1)

Alan Weiss
Alan Weiss on 12 May 2020
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 Comment

Jiazhen Zhou
Jiazhen Zhou on 15 May 2020
Thank you. that solves my problem.
Jiazhen.

Sign in to comment.


Translated by