Commit Graph

238 Commits

Author SHA1 Message Date
Laurent Saboret 1f0a69733b Fixed svn:keywords property 2006-06-23 13:56:01 +00:00
Bernd Gärtner 5ca47b2aee fixed bug that led to wrong objective function values 2006-05-30 14:31:16 +00:00
Sylvain Pion 566dda4ad7 Replace symlink by copy. 2006-05-19 19:47:53 +00:00
Sylvain Pion 4074cb0e8b \cgal -> \cgal\ . 2006-05-19 14:29:54 +00:00
Bernd Gärtner f7147eeae8 README now also contains disclaimer 2006-05-12 13:21:36 +00:00
Bernd Gärtner 87c117db5c somewhat elaborated these examples and marked them as experimental 2006-05-12 13:20:12 +00:00
Bernd Gärtner 984e23ccef number of iterations reported in verbose mode 2006-04-20 14:59:17 +00:00
Laurent Saboret 87d65f75e3 Fixed svn properties of ASCII files (as defined by Maintenance/svn_client/config) 2006-04-18 12:42:52 +00:00
Laurent Saboret 312353dd51 Global fix of svn:executable property in trunk 2006-04-14 15:07:17 +00:00
Bernd Gärtner 3996d75c2c adapted mentioning of script to cgal prefix 2006-04-04 13:41:59 +00:00
Bernd Gärtner 929d936ce5 made data_to_mps.C in /examples symbolic link to the one in /test 2006-03-30 07:33:19 +00:00
Bernd Gärtner 2637e71e3a fixed vector size bug 2006-03-30 07:31:23 +00:00
Bernd Gärtner a911c6340b added cin-files to allow execution of examples in testsuite 2006-03-28 15:38:11 +00:00
Bernd Gärtner 362466495b changed example/ data file naming for consistency 2006-03-27 15:56:10 +00:00
Bernd Gärtner 958ba8c6b1 added new examples that allow the solver to be used as standalone application 2006-03-27 15:47:36 +00:00
Bernd Gärtner 012321adf5 fixed unitialized variable warning 2006-03-27 09:23:31 +00:00
Sylvain Pion 209e525fb4 Force initialization of data members to prevent warning. 2006-03-25 12:23:10 +00:00
Bernd Gärtner 9f2fb1444f - beautified output of test_MPS
- changed linear time index -> var_name mapping to constant time (MPS.C)
2006-03-16 11:44:46 +00:00
Andreas Fabri 5a49693dd4 Added whitespace between an int and a comma as workarounf for VC8 integer parse bug 2006-03-13 22:21:35 +00:00
Bernd Gärtner 65d8b53cfb oops, forgot subdir 2006-03-10 12:43:36 +00:00
Bernd Gärtner 0aa2469e6c warning fix 2006-03-10 12:29:00 +00:00
Bernd Gärtner 864e6389db examples renamed, according to Andreas' request 2006-03-09 08:43:05 +00:00
Sylvain Pion 0e130994a7 - Fix for universal brain damage: "the the" -> "the". 2006-03-06 17:38:43 +00:00
Bernd Gärtner e1005296e6 - fixed bugs in Value_by_index:
- avoid using bounds in standard form
	- included denominator handling
- included new Variable_numerator_iterator in feasibility test
2006-03-06 14:22:18 +00:00
Bernd Gärtner e520a96fa3 - removed old (not useful) variable iterators that go over the whole
set of working variables; instead, the same iterators now only go
  over the original variables
2006-03-03 18:56:43 +00:00
Bernd Gärtner 27289d34c0 - added original_variables_numerator_iterator
and original_variables_value_iterator
- tested this new functionality as part of test_MPS.C
- adapted Trung's example to work with it and checked it in
2006-03-03 18:32:37 +00:00
Kaspar Fischer 69fb290fe6 - fixed typos
- added comment about "Derivatives: none"
2006-03-03 10:36:31 +00:00
Kaspar Fischer 165a7f2e3f - fixed output of usage information to not harm the testsuite 2006-03-03 09:57:05 +00:00
Bernd Gärtner 293d0597d9 - added examples dir and fixed example from doc 2006-03-02 17:12:04 +00:00
Bernd Gärtner 2586165bee - fixed bug in ratio test for positive mu
- derivative generation is suppressed upon comment in mps-file
- warnings seen in -o3 fixed
2006-03-02 15:57:23 +00:00
Kaspar Fischer 6c0479c7e0 - added some internal routines which are currently used by
master_mps_to_derivatives.C only
2006-02-28 19:55:14 +00:00
Kaspar Fischer f4c848ac45 - added new derivative kind "free"
- fixed 'Generated-by' comment in shifted MPS-files
2006-02-28 16:57:30 +00:00
Kaspar Fischer 3126645e46 - better output 2006-02-28 15:10:29 +00:00
Kaspar Fischer d5d49a27a7 - added important temporary note to README 2006-02-28 14:56:37 +00:00
Kaspar Fischer c2faa96d72 - added README documentation for the QP_solver testsuite 2006-02-28 14:53:20 +00:00
Kaspar Fischer a094a8a646 - moved PD_Primal_Random_n_r_s_d from "CGAL" to "additional" testsuite 2006-02-28 14:07:08 +00:00
Kaspar Fischer 65ee96564c - fixed typo in create_test_solver_cin 2006-02-28 14:02:16 +00:00
Kaspar Fischer f89943139d - removed entries of the D matrix that are zero 2006-02-28 14:01:02 +00:00
Kaspar Fischer 501a06e5e2 - fixed bug in sanity check 2006-02-28 14:00:43 +00:00
Kaspar Fischer 730410c071 - latest version 2006-02-28 13:43:35 +00:00
Kaspar Fischer d83b115b84 - updated to new directory structure (see previous revisions) 2006-02-28 13:42:29 +00:00
Kaspar Fischer e56bb72cb5 - fixed typo in comment 2006-02-28 13:42:04 +00:00
Kaspar Fischer ed1462437d - fixed problems in filenames
- reorganized directory structure
2006-02-28 13:29:47 +00:00
Kaspar Fischer d7691f1dd6 - now only nonzero entries of the D matrix are output to MPS-files 2006-02-28 12:21:11 +00:00
Kaspar Fischer 6542afbf6b - fixed compiler warning problem 2006-02-28 12:19:14 +00:00
Kaspar Fischer dcb9683c4e - fixed bug in which usage info was not output when too few args were given 2006-02-28 12:19:00 +00:00
Kaspar Fischer 0ff6d2dcbc - removed redundant #include 2006-02-28 10:27:37 +00:00
Kaspar Fischer cbb15529f9 - fixed compatibility issues/bugs in create_test_solver_cin
- submitted CGAL test_solver.cin
2006-02-27 13:55:30 +00:00
Kaspar Fischer e804b6f4c2 - added testcases (converted from old testsuite)
END OF TESTSUITE REWORK
2006-02-27 13:38:02 +00:00
Kaspar Fischer c857ef7bc2 - added script create_test_solver_cin 2006-02-27 13:35:47 +00:00
Kaspar Fischer 97b506775a - fixed bug ('m' instead of 'n') 2006-02-27 12:58:16 +00:00
Kaspar Fischer 4c22071657 TESTSUITE REWORK (CONTINUED)
In case you want to check out the old testsuite, check out revision 28811.
2006-02-27 11:14:16 +00:00
Kaspar Fischer 650f208b12 BEGIN OF TESTSUITE REWORK
In case you want to check out the old testsuite, check out revision 28811.
2006-02-27 10:57:16 +00:00
Kaspar Fischer 93a03c90f9 - fixed return code 2006-02-24 15:19:49 +00:00
Kaspar Fischer f924ba1920 - added master_mps_to_derivatives.C
- added CGAL header to data_to_mps.C
- QMATRIX section is only output if D is nonzero
- added function problem_name() to MPS.h
2006-02-24 15:16:30 +00:00
Kaspar Fischer 0da3b304c6 - fixed bug in MPS-output where "COLUMNS" was missing in the output 2006-02-24 10:19:34 +00:00
Kaspar Fischer 3a61406ded - data_to_mps does not require command line arguments anymore 2006-02-24 10:13:23 +00:00
Kaspar Fischer 4bb3f106f0 (- more to previous revision) 2006-02-24 10:06:06 +00:00
Kaspar Fischer c0bebdc3c4 - name change data2mps to data_to_mps 2006-02-24 10:02:53 +00:00
Kaspar Fischer 7dd4a84585 - finished MPS-output routine (and with this also data2mps) 2006-02-23 17:36:59 +00:00
Kaspar Fischer 69117c5acf - is_linear() now only returns true if D is nonzero; so far, whenever D was
present, is_linear() returned false
2006-02-23 15:35:05 +00:00
Kaspar Fischer 3364166411 - added feature to test_MPS to output the names of the variables as they occur
in the MPS file
2006-02-23 15:17:22 +00:00
Kaspar Fischer f004c9253f - fixed Maple/encodeProblem to output the MPS-files from the testsuite to
QMATRIX-format (which CPLEX understands) instead of our DMATRIX-format
2006-02-23 14:46:21 +00:00
Kaspar Fischer 2f428046c2 - fixed typo in comment 2006-02-23 14:14:40 +00:00
Kaspar Fischer 53f4fa1223 - does not assume anymore that a "Number-type: " comment is present in the MPS
file; if none is there, floating-point input is assumed
2006-02-23 13:50:16 +00:00
Kaspar Fischer 80f5874609 - added initial (and incomplete) converter utility (only parser implemented) 2006-02-23 13:38:25 +00:00
Kaspar Fischer 7a9348602e - fixed typos 2006-02-21 17:54:27 +00:00
Kaspar Fischer e184d87ec1 - reverted unintended removal of assertion 2006-02-21 17:44:59 +00:00
Kaspar Fischer fff7f6a07e - fixed validity check (unboundedness) 2006-02-21 17:37:34 +00:00
Kaspar Fischer 90b3b616a0 - fixed bug in encodeProblem (shifted instances were not really translations)
- added another testcase for the unboundedness validity check
2006-02-21 17:37:14 +00:00
Kaspar Fischer 662b8e87aa - solver now provides routine mu_j(int j) to the pricing strategies which
computes the exact mu_j in both the standard form and nonstandard form case
- fixed bug in ratio_test_1__t_j() where mu_j was not correctly computed for
  problems in nonstandard form
2006-02-21 13:27:43 +00:00
Kaspar Fischer 7a42e51754 - fixed some typos in commentes 2006-02-20 15:26:07 +00:00
Kaspar Fischer 6fae29186c - moved QP_solver.C from CGAL/ to CGAL/QP_solver/ 2006-02-20 14:55:55 +00:00
Kaspar Fischer 1033cbada1 - added a test in create-testsuite that checks whether all testcases needed for
the testsuite are really submitted to the SVN repository
- fixed documentation of testsuite in README
2006-02-20 14:25:48 +00:00
Kaspar Fischer 1b666993c1 - fixed bug in validity check (optimality of auxiliary problem): the previous
revision only checked the KKT conditions for the problem in standard form
- added simple (and inefficient) class Bnd that represents a possibly infinite
  bound; the class is used in the validity check
2006-02-20 14:00:28 +00:00
Kaspar Fischer 2fe2afb760 - (uups, dropped some statement in the previous commit...) 2006-02-16 15:10:36 +00:00
Kaspar Fischer e3abce195b - fixed bug: the upper-bounding mu_j(j) should do a LP-like mu_j(j) if j is a
slack variable
- fixed bug in which the partial pricing called mu_j(j) for a variable j which
  is basic (the reason is that the active set MAY contain basic variables;
  these were priced in previous revisions)
2006-02-16 14:59:56 +00:00
Kaspar Fischer 10de9dc6ed - fixed bug in which several .svn/* files where included as test cases in the
testsuite
2006-02-16 14:32:19 +00:00
Laurent Saboret db6a8f948c Change CVS keywords to SVN style 2006-02-16 14:30:13 +00:00
Kaspar Fischer c731057bbd - fixed bug in which the upper-bounded version of mu_j() was never called
- fixed issue where the feasiblity check in update_1() was called at moments
  where it need not hold
2006-02-16 13:26:41 +00:00
Kaspar Fischer f98be94d6d - prefixed atoi and exit with "std::" 2006-02-15 12:21:14 +00:00
Kaspar Fischer 71434b8c47 - fixed headers to new CGAL header format 2006-02-15 11:54:47 +00:00
Kaspar Fischer ca07866bae - fixed several occurrences of cos/sin/etc. to std::cos/std::sin/etc. 2006-02-15 11:41:19 +00:00
Kaspar Fischer 7266163a62 - changed encodeProblem to output shifted instances of the QP's, too
- fixed bug in is_solution_optimal_for_auxiliary_problem() where in case of
  a slack variable tau_aux was not incremented but set (= instead of +=)
- fixed bug in is_solution_optimal_for_auxiliary_problem() in which the special
  artificial variable was not ignored even if it droped down to zero (and
  therefore MUST be ignored)
- fixed bug in update_1() where feasibiliy does not always hold (in theory, it
  does, but as documented, is_solution_feasible() need not return true); now
  the assertion is only checked at certain times
- fixed several typos in comments
2006-02-14 17:55:52 +00:00
Kaspar Fischer e1759a5c2a - added missing directory in testsuite-data/ 2006-02-14 17:43:12 +00:00
Kaspar Fischer 044c2759a1 - removed CVS-dependent check that all necessary tests are in the repository 2006-02-14 17:42:40 +00:00
Laurent Saboret 1aad55d4cb Change CVS keywords to SVN style 2006-02-14 10:08:15 +00:00
Laurent Saboret 11745bfa53 Move packages to trunk root 2006-02-14 08:58:18 +00:00