Skip to content

Commit

Permalink
Disable sol check by default #200
Browse files Browse the repository at this point in the history
  • Loading branch information
glebbelov committed Aug 31, 2023
1 parent 54450d4 commit 990c11d
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CHANGES.mp.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Summary of recent updates to the AMPL MP Library
================================================

## unreleased
- Check solutions, options sol:chk:*.
## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ endmacro()
include_directories(include)

set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
set(MP_DATE 20230817)
set(MP_DATE 20230831)

set(MP_SYSINFO "${CMAKE_SYSTEM_NAME} ${CMAKE_SYSTEM_PROCESSOR}")

Expand Down
4 changes: 2 additions & 2 deletions include/mp/flat/converter.h
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ class FlatConverter :

int relax_ = 0;

int solcheckmode_ = 1+2+16;
int solcheckmode_ = 0; //1+2+16? +512?;
bool solcheckfail_ = false;
double solfeastol_ = 1e-6;
double solinttol_ = 1e-5;
Expand Down Expand Up @@ -1247,7 +1247,7 @@ class FlatConverter :
" applied by the solver when computing "
" expression values.\n"
"\n"
"Default: 1+2+16.",
"Default: 0.",
options_.solcheckmode_, 0, 1024);
GetEnv().AddOption("sol:chk:feastol sol:chk:eps sol:eps chk:eps",
"Solution checking tolerance for objective values, variable "
Expand Down
5 changes: 5 additions & 0 deletions solvers/cbcmp/CHANGES.cbcmp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to CBCMP for AMPL
===========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Fixed a bug causing repeated names for
auxiliary variables and constraints.
Expand Down
5 changes: 5 additions & 0 deletions solvers/copt/CHANGES.copt.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to COPT for AMPL
==========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Alternative solutions: solve status equal to that
of the final solution.
Expand Down
5 changes: 5 additions & 0 deletions solvers/gcgmp/CHANGES.gcgmp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to GCG for AMPL
=========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Alternative solutions: solve status equal to that
of the final solution.
Expand Down
5 changes: 5 additions & 0 deletions solvers/gurobi/CHANGES.gurobi.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to gurobi for AMPL
============================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Alternative solutions: solve status equal to that
of the final solution.
Expand Down
5 changes: 5 additions & 0 deletions solvers/highsmp/CHANGES.highsmp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to HiGHS for AMPL
===========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Fixed a bug causing repeated names for
auxiliary variables and constraints.
Expand Down
5 changes: 5 additions & 0 deletions solvers/mosek/CHANGES.mosek.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to MOSEK for AMPL
===========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Fixed a bug causing repeated names for
auxiliary variables and constraints.
Expand Down
5 changes: 5 additions & 0 deletions solvers/scipmp/CHANGES.scipmp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to SCIP for AMPL
==========================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Alternative solutions: solve status equal to that
of the final solution.
Expand Down
5 changes: 5 additions & 0 deletions solvers/xpress/CHANGES.xpress.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Summary of recent updates to Xpress for AMPL
============================================

## 20230831
- Solution checking, options sol:chk:* (experimental).
- Preprocess And/Or constraints.


## 20230817
- Alternative solutions: solve status equal to that
of the final solution.
Expand Down

0 comments on commit 990c11d

Please sign in to comment.