-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* mpc bug test * explicit memset to 0 * not sure what is failing * fix n * add some prints * better print * test disable res infeas * disable other tests * Revert "disable other tests" This reverts commit b1a41ba. * cleanup * add more tests * rename var --------- Co-authored-by: Brendan O'Donoghue <[email protected]>
- Loading branch information
Showing
8 changed files
with
60 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include "glbopts.h" | ||
#include "problems/test_prob_from_data_file.h" | ||
#include "scs.h" | ||
|
||
static const char *mpc_bug(void) { | ||
const char *fail; | ||
scs_float OPT1 = -0.473957794500; /* from scs */ | ||
scs_float OPT2 = -0.029336830816; /* from scs */ | ||
scs_float OPT3 = -0.002215217478; /* from scs */ | ||
fail = _test_prob_from_data("test/problems/mpc_bug1", OPT1); | ||
if (fail) { | ||
return fail; | ||
} | ||
fail = _test_prob_from_data("test/problems/mpc_bug2", OPT2); | ||
if (fail) { | ||
return fail; | ||
} | ||
return _test_prob_from_data("test/problems/mpc_bug3", OPT3); | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters