Skip to main content

Hi, when I solve an optimization problem (which is convex), though there should be only one optimum solution theoretically, I can get nearly the same objective value but totally different decision variables under different solvers and even within the same solver under multi run.

Now I want to reduce the precision on the variables. Currently the continuous variables may search into 20 digits after the decimal point, how can I limit it into maybe the first two digits after the decimal point? Can AIMMS do this?

Thanks a lot.

Hi @Chunyang. Convex optimization problems can have multiple optimal solutions having the same objective value. For example:

min (x+y)^2

s.t. x + y = 1

You cannot instruct solvers to optimize variables for only x digits. Solvers have options for changing the convergence tolerance (for the barrier algorithm), or the feasibility tolerance (for the simplex algorithm) but that way you cannot (indirectly) tell the solver to optimize variables for only x digits.


Hi @Chunyang. Convex optimization problems can have multiple optimal solutions having the same objective value. For example:

min (x+y)^2

s.t. x + y = 1

You cannot instruct solvers to optimize variables for only x digits. Solvers have options for changing the convergence tolerance (for the barrier algorithm), or the feasibility tolerance (for the simplex algorithm) but that way you cannot (indirectly) tell the solver to optimize variables for only x digits.

Thanks a lot.


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator