Skip to content

Commit

Permalink
Update test tags
Browse files Browse the repository at this point in the history
  • Loading branch information
apete committed Aug 31, 2024
1 parent 58b703b commit 440f96c
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ojAlgo Functionality Tests.launch
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<listEntry value="=ojAlgo/src\/main\/java=/optional=/true=/=/maven.pomderived=/true=/"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.junit.CONTAINER" value="=ojAlgo"/>
<stringAttribute key="org.eclipse.jdt.junit.EXCLUDE_TAGS" value="slow,unstable"/>
<stringAttribute key="org.eclipse.jdt.junit.EXCLUDE_TAGS" value="slow"/>
<booleanAttribute key="org.eclipse.jdt.junit.HAS_EXCLUDE_TAGS" value="true"/>
<booleanAttribute key="org.eclipse.jdt.junit.HAS_INCLUDE_TAGS" value="false"/>
<stringAttribute key="org.eclipse.jdt.junit.INCLUDE_TAGS" value="new_lp_problem"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
*/
package org.ojalgo.data.transform;

import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.ojalgo.TestUtils;
import org.ojalgo.function.constant.ComplexMath;
Expand Down Expand Up @@ -55,6 +56,7 @@ public void testBitReversal() {
}

@Test
@Tag("unstable")
public void testCompareImplementationsUsingRandomInput() {

NumberContext accuracy = NumberContext.of(8);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import java.math.BigDecimal;
import java.util.Collections;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.ojalgo.TestUtils;
Expand Down Expand Up @@ -143,6 +144,7 @@ public void testFixedVariables() {
*/
@Test
@Tag("unstable")
@Disabled
public void testGitHubIssue2() {

ExpressionsBasedModel model = new ExpressionsBasedModel();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ static void doTest(final String name) {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testCVXQP1_M() {
CuteMarosMeszarosCase.doTest("CVXQP1_M.SIF");
}
Expand All @@ -235,6 +236,7 @@ public void testCVXQP1_M() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testCVXQP2_M() {
CuteMarosMeszarosCase.doTest("CVXQP2_M.SIF");
}
Expand All @@ -245,6 +247,7 @@ public void testCVXQP2_M() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testCVXQP3_M() {
CuteMarosMeszarosCase.doTest("CVXQP3_M.SIF");
}
Expand Down Expand Up @@ -295,6 +298,7 @@ public void testGENHS28() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testGOULDQP2() {
CuteMarosMeszarosCase.doTest("GOULDQP2.SIF");
}
Expand Down Expand Up @@ -419,7 +423,7 @@ public void testKSIP() {
* Just takes way too long – 275s
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testMOSARQP2() {
CuteMarosMeszarosCase.doTest("MOSARQP2.SIF");
}
Expand Down Expand Up @@ -524,6 +528,7 @@ public void testQFORPLAN() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testQGROW22() {

// CPLEX: OPTIMAL -1.4962895331592175E8 @ { 0.01092336267343, 0.00934776575925, 0.01134372035533, 0.00779072165058, 0.00942379121408, 0.01120687841938, 0.0255521933768, 0.01494509369601, 0.31338112799051, 0.01707264738142, 0.00703912903117, 0.0081667995104, 0.00425405358974, 0.0417170697778, 0.00060369085576, 0.00640829420688, 0.01915154483078, 0.10991239247624, 0.01347259470693, 0.09023058307028, 0.00005132187401, 0.00005297637956, 0.00008941928587, 0.00085145264227, 0.00017788540432, 0.00022822244478, 0.00086949377339, 0.00042121056857, 0.00448223516162, 0.00597042465546, 0.00054078721867, 0.22213485980252, 0.00021699773081, 0.00051139385087, 0.00040738459254, 0.00073520043822, 0.00357380654864, 0.00050727758986, 0.00528008233792, 0.00335145709845, 0.08974658895284, 0.00072938893031, 0.0049968730027, 0.0542393391677, 0.19435416453888, 0.13410837502627, 0.06713304882311, 0.15357030592258, 0.04480124438396, 0.14368342467871, 0.14129938330144, 3.141287756189, 0.18955433016136, 0.06582911951277, 0.07747701495065, 0.02886035063834, 0.40187735115605, 0.00047307059146, 0.00331805762322, 0.19464413469854, 2.57508756032247, 0.21430849295372, 0.92830574123495, 0.00003192769655, 0.00002478494535, 0.00010257945859, 0.00003237473598, 0.00002813161071, 0.00009952625181, 0.00000540522499, 0.00002583674743, 0.00000782267959, 0.0000175983499, 0.00001805543836, 2.45250743837204, 0.00003435050235, 0.00001849190541, 0.00000594684327, 0.00005566572388, 0.00002765204058, 0.00000334476148, 0.00014387486446, 0.00002736759564, 2.28267397452346, 0.00002962984281, 0.00003134755945, 10562.66544833373, 519243.8062778839, 1038901.43550721, 5752.665134145675, 40130.98583078455, 6717.046597716356, 12449.80849864241, 11467.49471032375, 62907.99999224375, 16765.07860490911, 31144.64436738373, 15128.31753724335, 6158.191504963077, 146068.5472657679, 348.4103792090308, 3199.525527427574, 21292.5385230229, 33158.99998385556, 11230.4014218273, 375504.2007256302, 0.00010018641529, 433310.5490447825, 999999.999713244, 0.00203307619848, 0.00038347673214, 0.00118766069624, 0.00029333528825, 0.00138828558225, 0.00136788099217, 0.00098611044481, 0.00069197442057, 5221.263004469381, 0.00102206456853, 0.00043465706001, 0.0003597495571, 0.0009221972188, 0.00093353591663, 0.00159144820705, 0.00261079304272, 0.00174186894225, 0.00001412187008, 0.00181809551558, 0.00121612638574, 653665.2832687752, 18082.78408323602, 1066182.621732442, 7837.47051880612, 51776.70248891167, 70742.4280038393, 16732.17758951801, 18321.20305876049, 62907.9999923228, 26174.70732289295, 29524.58900882822, 18462.864541471, 15119.79149922736, 137250.8806552899, 1107.589530438532, 6891.425264796057, 40059.12847807898, 26646.11823291986, 17069.32546816942, 437872.3182153137, 414806.6355057261, 0.0004680731754, 999999.9998665288, 7198.129372827419, 12377.93531430329, 21372.9123700114, 1070.817037683919, 9074.832802937901, 6947.563323652181, 2917.458556796775, 3070.546885078258, 482.2801156409352, 4151.698473013924, 4868.928033132638, 3246.204199282731, 5395.305014847857, 6387.703410108293, 687.4763502410832, 3048.884442785748, 8699.64553341178, 5203.265961771034, 3529.024568859642, 28687.18690097806, 236361.9165826377, 32988.15396217339, 1146667.402844306, 6599.058651533936, 54413.86858840625, 53568.5438039797, 17357.06723422118, 16967.64660891179, 62907.99999231516, 19921.14222130462, 27659.22416233231, 16346.45303493716, 11585.80230766297, 153791.7649240676, 523.4436458909191, 4245.642275246695, 29263.75622993637, 23019.02916627948, 13087.98706487318, 452611.183953455, 0.00010551458392, 0.00014546870334, 999999.9997692154, 146474.5226624669, 37587.56542682562, 124611.7322731999, 1872.535566191744, 21684.89309528458, 28459.51416925487, 7546.32118437945, 5251.580375239683, 8663.584454155696, 8664.58136440188, 6815.203148148367, 4763.341049097535, 8622.375711419354, 28233.01863884753, 787.9234649762691, 3516.621787985086, 14317.81876809525, 7089.829336189686, 4526.274313324956, 105035.4583782708, 915193.8672916897, 24838.87280520084, 946115.9321055717, 5739.04813863524, 33571.69934125655, 60651.62587166719, 9934.682480293723, 10899.03547610146, 62907.99999231492, 21401.59658916514, 20062.11788474938, 11302.21404604161, 7037.963307391098, 90035.8050538665, 364.7667739471295, 3220.69259445226, 27895.01467827311, 20536.34421253339, 10139.80007703041, 328280.6295335511, 742638.4603467854, 0.00047009592797, 999999.9991455463, 11562.71616607051, 56322.81983105875, 32725.15560908664, 2009.265266751215, 16336.70748222886, 10753.30007761377, 6439.096938523518, 5185.855113969431, 757.5893671875843, 6499.606870243349, 8772.927626583287, 6202.88023344366, 9372.224109569501, 12500.3372390429, 840.5888298315176, 3886.589221752576, 12363.98402601788, 9043.088191292174, 4809.054436140633, 52901.38439560813, 235428.062100781, 552429.2543079924, 217414.177302711, 5645.226132365121, 33229.17847807738, 50049.65422252149, 16365.00690922927, 13681.69183245048, 62907.99999230981, 20739.37179234117, 23137.69954225342, 13075.3164029725, 6391.704059528623, 138383.8786359335, 288.6136985002091, 2947.499138558033, 25886.98765108428, 23681.45163124316, 8466.522135020829, 340381.0071150414, 0.00010560482462, 499999.9996180722, 0.00050244894643, 152302.2614648934, 18266.09335442304, 232589.5862748991, 2117.637824493343, 30571.1624246355, 30626.31114549382, 8015.844786030388, 6099.296631345611, 7515.665745040791, 8485.342043347386, 8093.162720986969, 5544.661884710918, 9557.395531717517, 33694.90184960966, 808.0133189998212, 4047.911157702357, 15120.53356767983, 6527.220667728719, 5904.57032865753, 134203.4987402481, 917663.1978103092, 27549.45260936715, 857708.2752615751, 5275.358872839866, 31699.28782130027, 61278.32197510892, 10115.77830267977, 10624.35080148894, 62907.99999230947, 21157.95052877839, 18339.79278956054, 9986.544544627901, 4793.983174515068, 84388.08358904904, 235.1075613822318, 2754.880646203115, 26818.09621737391, 19256.08824486588, 9060.24477802509, 303695.3526092539, 745436.6385389036, 0.00047155094029, 999999.9991474173, 16296.15648779915, 39409.69723910809, 55050.82486759713, 2055.06873989867, 26146.36382808101, 13513.95152151382, 7140.843221386409, 6121.211872585553, 1098.239345575608, 6470.658091602539, 9802.869571897045, 6531.570935650981, 8904.236949573116, 18915.0415031505, 753.7856520858552, 4172.031921302693, 12894.38524595389, 8343.343372478927, 5916.288334254208, 78758.37350216958, 266994.9988427714, 50219.76902311146, 1143642.586564015, 5067.306929143624, 43667.33174232038, 50155.28536671893, 12021.05715791619, 13103.03829157647, 62907.99999230594, 17873.84106343659, 22348.08250631803, 10997.42830873918, 4080.743093785086, 143795.0271505923, 195.4861179238963, 2732.933988341949, 24464.7043547712, 20336.39874378483, 9920.399543746786, 411676.209233597, 0.00010566922036, 0.00014567975166, 999999.9997694595, 178541.3311591274, 79438.10821171373, 156872.3214071196, 2222.722365909102, 28709.27466094624, 30676.69609488488, 8839.435273517527, 6200.833801313524, 9711.805220433798, 9213.807761772456, 8728.384774040409, 5749.874789469585, 7134.062975854788, 39247.25041625678, 566.8966329255774, 3509.376940650958, 15348.63151920966, 8168.928116071036, 5273.371905797085, 124747.8664539515, 889183.4748560329, 48273.61909672635, 960924.9457699466, 4977.411131456462, 33908.53849823109, 59229.4511398697, 8487.50581919708, 10134.20670096381, 62907.99999230572, 20990.93101411227, 18808.46769563103, 8535.288739630407, 3069.157717864077, 93461.79958641916, 155.5354222568879, 2240.729699919674, 25979.61851375929, 20299.86607198268, 9056.165509478893, 334022.903162885, 746365.3506797069, 0.00047219818405, 999999.9998666871, 22411.23973885353, 117927.2822680577, 79760.89126873353, 1946.63493612488, 23334.54777306318, 13570.96886717717, 6897.718139371846, 5537.552077562877, 2071.123314743922, 6843.175850835107, 9384.785064931491, 5464.984922816965, 5035.58324814681, 25192.70642160306, 407.3092022921126, 2912.586544991738, 12058.11526687123, 9293.157208390074, 4855.886496898348, 75913.57634680676, 140179.8341580028, 458059.542113949, 1025297.693178427, 4135.033339170367, 30900.84125634462, 35073.85767957727, 7203.192539375038, 8655.236819427297, 62907.99999230386, 17573.8948171981, 20724.85029035348, 7300.437284190871, 2310.972992448449, 122495.1223729563, 120.0533667913408, 1669.596218391197, 20381.26232417667, 23603.06212044874, 7466.646583628335, 339486.7623479767, 0.00010571567173, 499999.99961907, 999999.9997695253, 103156.1058078944, 669.1434378624357, 66890.06225345422, 1601.446064426117, 15164.47203471569, 28056.90433858215, 4130.961446839788, 3778.550621632188, 6810.866666617932, 7224.934257537602, 3992.298120678033, 2352.293419000819, 2746.222955816127, 15241.4994711135, 211.9378549719587, 1725.901312852695, 11266.05600387758, 3204.930468382939, 3144.59450935877, 49312.9748757221, 962167.6116734821, 898.6450038853826, 967777.0915529643, 2481.883866833175, 23478.30687007277, 51531.46110077104, 4130.413117205142, 4827.16245149239, 62907.99999230354, 15363.98701483826, 10744.76745881746, 3240.917070912627, 1635.989708279539, 81546.71042599264, 85.53493088126956, 951.0326896570838, 15512.95828238881, 13365.07404258456, 3956.037874506626, 323926.3114925628, 746894.6814559387, 0.00050622346181, 999999.9991500432, 0.00036873231709, 0.00053101392797, 0.00113973293437, 0.00031475183602, 0.00058985580206, 0.00046239114116, 0.00015690104479, 0.00022121500514, 0.00002249397819, 0.00056931382887, 0.00058701635515, 0.0004031696229, 0.0004068968108, 0.00034940826656, 0.0043602174836, 0.0021893656348, 0.00135154637245, 0.00180478342064, 0.00315484573304, 0.00174401844577, 300445.5046732776, 91497.71128442053, 265114.7546760643, 7626.998989015089, 45296.32573927825, 66120.87055630606, 24322.98142653654, 20331.72681079306, 62907.99998976471, 23621.07642653597, 26994.43629502615, 19770.61896685819, 17580.79183402192, 132660.6885779411, 1068.365791361485, 6230.988787738454, 36577.88433713194, 22914.64119204672, 14231.0998279877...
Expand Down Expand Up @@ -647,6 +652,7 @@ public void testQSCTAP1() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testQSHARE1B() {

// CPLEX: OPTIMAL 720078.3184694768 @ { 333.8999, 37.46085934372832, 65.54637077660308, 148.1051336737728, 3.127423E-8, 2.278724E-8, 72.8, 2.78790021524773, 12.129447733567, 9.42087E-9, 1.075367E-8, 8.99822741634234, 647.6903973349696, 36.15835833438015, 60.34742145671689, 202.8948662770234, 1.0399414E-7, 32.54851317422205, 185.9999997238467, 7303.007189991704, 37960.74956115764, 10777.56328688469, 889506.2876017037, 178.29865336696, 73.18279942033763, 1012.612055460439, 214.9999998539775, 4893.997966734743, 603.9999996592173, 3404.668729439141, 222.6762174232982, 66.51386737926953, 25.05052049517707, 215.1127790261638, 162.9999998885236, 1040.612334593366, 82.8, 5.53054465555529, 27.06769951189914, 0.00003296522839, 50.20159953983185, 0.00000453696223, 148.4, 22.39922325218321, 0.00004571405555, 106.5315454715923, 0.00000298600365, 747.8786913219764, 46.7503753659731, 58.02368723918124, 628.2668549603185, 0.00001567776432, 2115.599902016661, 177710.395013591, 12370.36762160593, 3634.031168506993, 132.5126746056218, 2.825793E-8, 142.1782776164198, 82.52138122647733, 945.0257685928581, 2.1187846E-7, 2020.029728160476, 79.225570397044, 120.9999976227638, 0.00000378637367, 91.82172175398595, 880.1247123569613, 202.002972788626, 574.9999989590176, 283.4787913219764, 36.59288210664387, 3.978178E-8, 278.9999999128518, 247.9999999509883, 3358.444244228303, 4144.872644532776, 13154.01466263757, 7.5679896E-7, 5.3236409E-7, 6.3075185E-7, 6.2959424E-7, 0.00000191390626, 172.9085638012803, 108, 11306.66180526505, 2864.998359744063, 63009.48056997929, 410.2903973349696, 4983.007192008365, 5342.793046609027, 0, 417.8297281604755, 1.099055E-8, 212.8872209738362, 1085.726250435192, 0.00011365094062, 16.32397901863806, 5.15452295376931, 421.9999962136263, 0.00000320121972, 27.5408746672774, 9.194944E-8, 81.2740681275383, 1.51346742105814, 2.4611204E-7, 2.6516236E-7, 2.27623907167979, 46.60828551281571, 1.098859E-8, 8.18385E-9, 0.00000104929054, 80.93484693930488, 48.80638738033572, 0.00000289587853, 8.7093571E-7, 0.00000216108625, 4360.876791818044, 6.3249335E-7, 0.00000126231945, 0.00000484239389, 5.1782974E-7, 0.00000106904727, 0.00000374479675, 4.6358539E-7, 9.0965833E-7, 0.00000442226712, 4.3472357E-7, 0.00000107273279, 2942.130475769188, 0.00000201666035, 57.48613262073047, 18.94947950482293, 1.1147639E-7, 8.714823E-8, 4.901173E-8, 4873.724217169887, 58.97676003311275, 3.0169189E-7, 2012.536811029245, 0.00025027563806, 0.00010452198864, 0.00006108619004, 0.00004168010916, 160.9258102158669, 0.00031997803515, 0.00012606806216, 0.00007055800988, 0.00004693484326, 84.16511811491715, 0.00043474861336, 0.00015966768165, 0.0000847998297, 0.00005420234183, 58.28067368338867, 0.00062642591276, 0.00020884611835, 0.00010617240502, 0.00007985793519, 44.79367141738038, 1043.963500538207, 0.00025019275083, 0.00013719791807, 0.00008122564132, 0.00000513958515, 0.00000333800441, 3.14520021952517, 9.68321610601027, 0.00001901896943, 7.392905E-7, 0.00000250173044, 0.00000372789415, 0.00001114192984, 0.00002502488134, 106.4089312174023, 0.0000020115121, 0.00000386950582, 0.00000834391386, 0.0000178250261, 0.00008095712152, 0.00000167759211, 0.00000328435853, 0.00000677052936, 0.0000143970528, 0.00006002851376, 0.00000143628924, 0.00000281688163, 0.00000577353337, 0.00001293525298, 0.00008972038664, 0.00000125424335, 0.00000244780433, 0.00000505029702, 0.00001244526391, 2009.19069535767, 0.00000162043721, 110.4532361859185, 70.85474716552515, 1.2891021E-7, 0.00117782188595, 996.2720664770459, 0.00052315663849, 0.00013223463645, 0.00012278280684, 0.00028480302047, 0.00087407878118, 0.00045704032983, 0.00017479027485, 0.00010974786327, 0.00016754141831, 0.00048385893562, 0.0005936501136, 0.00026900093596, 0.00014085410479, 0.00011911601798, 0.00034159234344, 0.0009421442194, 0.00046234826411, 978.4832882394979, 0.00009247704752, 0.00026848572434, 45.26507826562338, 0.00118111269967, 0.00047654033451, 2.741815E-8 }
Expand All @@ -657,10 +663,10 @@ public void testQSHARE1B() {
/**
* <p>
* The QP solver ends up (de)activating inequality constraints "forever"... Does eventually finish with a
* solution, but still tagged "unstable" since it simply takes too long.
* solution, but tagged "slow" since it simply takes too long.
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testQSTAIR() {
CuteMarosMeszarosCase.doTest("QSTAIR.SIF");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private static void doTest(final String modelName, final String expMinValString,
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testB_ball() {
MIPLIBTheEasySet.doTest("b-ball.mps", "-1.5", null);
}
Expand Down Expand Up @@ -162,6 +163,7 @@ public void testMarkshare_4_0() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testNeos5() {
MIPLIBTheEasySet.doTest("neos5.mps", "15", null);
}
Expand Down Expand Up @@ -195,6 +197,7 @@ public void testNeos5() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testPk1() {
MIPLIBTheEasySet.doTest("pk1.mps", "1.10000000e+01", null);
}
Expand Down
10 changes: 10 additions & 0 deletions src/test/java/org/ojalgo/optimisation/integer/MipCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ public void testGen_ip002() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testGen_ip021() {
MipCase.doTest("gen-ip021.mps", "2361.45419519", null);
}
Expand All @@ -121,6 +122,7 @@ public void testGen_ip021() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testGen_ip036() {
MipCase.doTest("gen-ip036.mps", "-4606.67961", null);
}
Expand All @@ -144,6 +146,7 @@ public void testGen_ip054() {

@Test
@Tag("unstable")
@Tag("slow")
public void testMad() {
MipCase.doTest("mad.mps", "0.0268", null);
}
Expand Down Expand Up @@ -242,6 +245,7 @@ public void testMarkshare2() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testMas76() {
MipCase.doTest("mas76.mps", "4.00050541e+04", null);
}
Expand All @@ -267,6 +271,7 @@ public void testMas76() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testModglob() {
MipCase.doTest("modglob.mps", "2.07405081e+07", null);
}
Expand Down Expand Up @@ -314,6 +319,7 @@ public void testNeos911880() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testNoswot() {
MipCase.doTest("noswot.mps", "-4.10000000e+01", null);
}
Expand All @@ -337,6 +343,7 @@ public void testNoswot() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testPp08a() {
MipCase.doTest("pp08a.mps", "7.35000000e+03", null);
}
Expand All @@ -359,6 +366,7 @@ public void testPp08a() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testPp08aCUTS() {
MipCase.doTest("pp08aCUTS.mps", "7.35000000e+03", null);
}
Expand All @@ -381,6 +389,7 @@ public void testPp08aCUTS() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testTimtab1() {
MipCase.doTest("timtab1.mps", "7.64772000e+05", null);
}
Expand All @@ -405,6 +414,7 @@ public void testTimtab1() {
*/
@Test
@Tag("unstable")
@Tag("slow")
public void testVpm2() {
MipCase.doTest("vpm2.mps", "1.37500000e+01", null);
}
Expand Down

0 comments on commit 440f96c

Please sign in to comment.