Skip to content

Commit

Permalink
Cplex licence file should only be checked in case Cplex is used.
Browse files Browse the repository at this point in the history
  • Loading branch information
pwof authored and pwof committed Jul 11, 2017
1 parent 4655a22 commit b600bcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tauargus/model/OptiSuppress.java
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,9 @@ public void UpdateTables(final int percentage) {
// hs = Application.getTempDir();
//hs = tauargus.utils.ExecUtils.getApplicationDirectory(OptiSuppress.class).getCanonicalPath()+"\\access.ilm";
//hs = ExecUtils.getRegString("optimal", "cplexlicensefile", ExecUtils.getApplicationDirectory(OptiSuppress.class).getCanonicalPath()+"\\access.ilm");
hs = TauArgusUtils.GetCplexLicenceFile();
hs = "";
if (Application.solverSelected == Application.SOLVER_CPLEX) hs = TauArgusUtils.GetCplexLicenceFile();

tableSet.maxHitasTime = Application.generalMaxHitasTime;

tauHitas.SetDebugMode(Application.SaveDebugHiTaS);
Expand Down

0 comments on commit b600bcb

Please sign in to comment.