Skip to content Skip to sidebar Skip to footer

Error When Solving Mixed Complementarity Model

Using the PATH solver directly, i fail to solve the problem presented below. The original problem was sourced from https://prod.sandia.gov/techlib-noauth/access-control.cgi/2015/15

Solution 1:

In the absence of someone writing a better answer, you might try using SolverFactory('mpec_nlp').solve(model) to see what happens.

If you enjoy reading *.nl files, you can also model.write('tmp.nl') to see what is generated via the AMPL interface.

Solution 2:

As per Bethany Nicholson's post above, using PATH 4.7.04 will solve the problem. For some reason 4.7.01 returns an error.

Qi Chen's reply will solve the problem, but does not use PATH.

Post a Comment for "Error When Solving Mixed Complementarity Model"