<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC in Mathematical Optimization, Discrete-Event Simulation, and OR</title>
    <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976394#M4387</link>
    <description>&lt;P&gt;TotalScore.sol is the value of TotalScore from the most recent solver call.&amp;nbsp; You can alternatively use a manually specified threshold.&amp;nbsp; The following code changes yield the same objective values as in your Excel file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   con CardinalityMethod:
      sum {m in METHODS} SelectMethod[m] = 1;

   /* primary objective */
   solve;

/*   con MinScore: TotalScore &amp;gt;= TotalScore.sol;*/
   con MinScore: TotalScore &amp;gt;= -5;

   impvar difx {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = 
      sum {&amp;lt;(d),(b),t&amp;gt; in DATE_BLOCK_TREATMENT, m in METHODS} max(_tmin_orig[d,b,t] - outcome[d,b,t,m], 0) * SelectTreatmentMethod[t,m];
   max TotalDif = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} difx[d,b];

   /* secondary objective */
   solve with milp / primalin;
   put TotalScore= TotalDif=;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The PUT statement shows the resulting objective values:&lt;/P&gt;
&lt;P&gt;TotalScore=-3 TotalDif=13365&lt;/P&gt;</description>
    <pubDate>Fri, 03 Oct 2025 21:08:55 GMT</pubDate>
    <dc:creator>RobPratt</dc:creator>
    <dc:date>2025-10-03T21:08:55Z</dc:date>
    <item>
      <title>How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC/DT?</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976238#M4381</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1636"&gt;@RobPratt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At previous thread, OPT model is provided to find the best Treatment/Method for BLOC/DT.&lt;/P&gt;
&lt;P&gt;Let the solution have improvement for as many as BLOC/DT, the goal is to maximize the total score [improvement=_tmin_x[treatment/method] is less than _tmin_orig for each BLOC/DT. Score=1 if improvement; -5 if none improvement]. This is Stage I.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now the second stage is to maximize the total sum of the differences between _tmin_x&lt;/P&gt;
&lt;P&gt;and _tmin_orig ONLY from the top solutions from Stage I. THAT MEANs an additional constrain&lt;/P&gt;
&lt;P&gt;on the TOTAL SCORE from Stage I &amp;gt;= A THESHOLD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;%let optds=mm_out_x6_x;
data have;
   set &amp;amp;optds.;
   rename _tmin=method1 _tmin_ew=method2 _tmin_wt_r=method3 _tmin_wt_r2=method4;
run;

title "OPT on &amp;amp;optds.";
proc optmodel;
   /* read input data */
   set METHODS = 1..4;
   set &amp;lt;str,num,num&amp;gt; DATE_BLOCK_TREATMENT;
   num _tmin_orig {DATE_BLOCK_TREATMENT};
   num outcome {DATE_BLOCK_TREATMENT, METHODS};
   read data have into DATE_BLOCK_TREATMENT=[dt bloc condi_id] _tmin_orig
      {m in METHODS} &amp;lt;outcome[dt,bloc,condi_id,m]=col('method'||m)&amp;gt;;
   set TREATMENTS = setof {&amp;lt;d,b,t&amp;gt; in DATE_BLOCK_TREATMENT} t;
   set DATE_BLOCK = setof {&amp;lt;d,b,t&amp;gt; in DATE_BLOCK_TREATMENT} &amp;lt;d,b&amp;gt;;

  /* define optimization model */
   var SelectTreatment {TREATMENTS} binary;
   var SelectMethod {METHODS} binary;
   var SelectTreatmentMethod {TREATMENTS, METHODS} binary;
   var IsGood {DATE_BLOCK} binary;
   /* if IsGood[d,b] = 1 then Score[d,b] = 1 else Score[d,b] = -5 */
   impvar Score {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = 1 * IsGood[d,b] - 5 * (1 - IsGood[d,b]);
   max TotalScore = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} Score[d,b];
   con CardinalityTreatment:
      sum {t in TREATMENTS} SelectTreatment[t] = 2;
   con CardinalityMethod:
      sum {m in METHODS} SelectMethod[m] = 1;
   /* SelectTreatmentMethod[t,m] &amp;lt;= SelectTreatment[t] * SelectMethod[m] */
   con Linearize1 {t in TREATMENTS, m in METHODS}:
      SelectTreatmentMethod[t,m] &amp;lt;= SelectTreatment[t];
   con Linearize2 {t in TREATMENTS, m in METHODS}:
      SelectTreatmentMethod[t,m] &amp;lt;= SelectMethod[m];
   con AtLeastOneGood {&amp;lt;d,b&amp;gt; in DATE_BLOCK}:
      IsGood[d,b] &amp;lt;= sum {&amp;lt;(d),(b),t&amp;gt; in DATE_BLOCK_TREATMENT, 
			m in METHODS: outcome[d,b,t,m] &amp;lt; _tmin_orig[d,b,t]} SelectTreatmentMethod[t,m];

   /* call MILP solver , TOP one only*/
   solve;
   create data want_method from [method] SelectMethod;
   create data want_treatment from [treatment] SelectTreatment;
   create data want_dt_bloc from [dt bloc] IsGood Score;
   create data want_x_dtbloc from [d b]=DATE_BLOCK;
   create data want_trtmt from [t]=TREATMENTS;

quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp; I tried some variation, below or alike. But it complains.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; /* IT WAS  
   impvar Score {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = 1 * IsGood[d,b] - 5 * (1 - IsGood[d,b]);
   max TotalScore = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} Score[d,b];*/
   var Score {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = 1 * IsGood[d,b] - 5 * (1 - IsGood[d,b]);
   var TotalScore = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} Score[d,b];
   impvar difx{&amp;lt;d,b&amp;gt; in DATE_BLOCK} = outcome[d,b]* IsGood[d,b]-_time_orig[b];
   max TotalDif =sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} difx[d,b];


con MinScore TotalScore &amp;gt;=4;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Please keep # of selection of Treatment and Method BOTH=2. THanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;con CardinalityTreatment:
      sum {t in TREATMENTS} SelectTreatment[t] = 2;
   con CardinalityMethod:
      sum {m in METHODS} SelectMethod[m] = 2;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;THanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 13:16:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976238#M4381</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-02T13:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976240#M4383</link>
      <description>&lt;P&gt;Here is possibility that a huge improvement [_tmin_orig - _tmin_x/Treatment/Method] for just one or two BLOC/DT, but no improvement for the BLOC/DT leftover. That does not stand for a good&lt;/P&gt;
&lt;P&gt;treatment/method.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So this is a two-stage approach. 1) find the candidates which has improvement for as many as&lt;/P&gt;
&lt;P&gt;BLOC/DT 2) the top solutions from 1) as good candidates, to find the best one(s) with the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;highest improvement.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The goal function for Stage II can be to 1) Maximize the sum of the diffs between _tmin_orig and _tmin_x.&lt;/P&gt;
&lt;P&gt;2) with customized penalty function, such as AVG(_tmin_orig-_tmin_x)/Stdev(_tmin_orig-_tmin_x)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks alot&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 13:48:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976240#M4383</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-02T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976283#M4384</link>
      <description>&lt;P&gt;I see a few issues here:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;You cannot have = expression in a VAR statement.&amp;nbsp; You should keep the original impvar Score and max TotalScore declarations.&lt;/LI&gt;
&lt;LI&gt;The outcome parameter requires four arguments, not two: outcome[d,b,t,m], not outcome[d,b].&lt;/LI&gt;
&lt;LI&gt;You have not defined _time_orig[b].&amp;nbsp; Is this maybe supposed to be _tmin_orig[d,b,t]?&lt;/LI&gt;
&lt;LI&gt;Your MinScore declaration is missing a colon, and the right-hand side should depend on the previous objective function value.&amp;nbsp; Correct syntax is: &lt;CODE class=" language-sas" style="font-size: 13px; white-space: normal;"&gt;con MinScore: TotalScore &amp;gt;= TotalScore.sol;&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;CODE class=" language-sas" style="font-size: 13px; white-space: normal;"&gt;&lt;/CODE&gt;I'm not quite sure what you want the secondary objective to be, but here's an outline of the two stages:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   /* primary objective */
   solve;

   con MinScore: TotalScore &amp;gt;= TotalScore.sol;

   impvar difx {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = sum {&amp;lt;(d),(b),t&amp;gt; in DATE_BLOCK_TREATMENT, m in METHODS} (_tmin_orig[d,b,t] - outcome[d,b,t,m]) * SelectTreatmentMethod[t,m];
   max TotalDif = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} difx[d,b];

   /* secondary objective */
   solve with milp / primalin;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Oct 2025 22:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976283#M4384</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2025-10-02T22:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976288#M4385</link>
      <description>&lt;P&gt;Thanks. It runs through. Let me take a while to digest.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is EXCEL/SOLVER, with all color-coded.&amp;nbsp; The Stage II has an additional constrain on the&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TotalScore from Stage I.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; con MinScore: TotalScore &amp;gt;= TotalScore.sol;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;TotalScore.sol is&amp;nbsp;the&amp;nbsp;TotalScore&amp;nbsp;from&amp;nbsp;each&amp;nbsp;solution&amp;nbsp;from the primary objective?&lt;/CODE&gt; If yes,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then I bet this might be it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;Anyway&amp;nbsp;to&amp;nbsp;set&amp;nbsp;TotalScore.sol&amp;nbsp;a&amp;nbsp;specific&amp;nbsp;value&amp;nbsp;as&amp;nbsp;THE THRESHOLD?!&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;Say&amp;nbsp;the&amp;nbsp;primary&amp;nbsp;objective solutions:&amp;nbsp;the&amp;nbsp;highest&amp;nbsp;TotalScore is&amp;nbsp;3&amp;nbsp;and&amp;nbsp;most&amp;nbsp;tops&amp;nbsp;are&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;around&amp;nbsp;-5&amp;nbsp;to&amp;nbsp;3;&amp;nbsp;a&amp;nbsp;judgement&amp;nbsp;is&amp;nbsp;made&amp;nbsp;to&amp;nbsp;set&amp;nbsp;THE THRESHOLD=-5,&amp;nbsp;the&amp;nbsp;secondary&amp;nbsp;objective&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;is&amp;nbsp;to&amp;nbsp;MAXIMIZE&amp;nbsp;the&amp;nbsp;sum&amp;nbsp;of&amp;nbsp;DIFX[_tmin_orig - _tmin_x/TREATMENT&amp;amp;METHOD]&amp;nbsp;{{only&amp;nbsp;if&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;_tmin_orig &amp;gt; _tmin_x, Otherwise 0; WELL OTHER PENALTY FUNCTIONS CAN BE APPLIED LATER ON}}.&amp;nbsp;&lt;/CODE&gt;&lt;CODE class=" language-sas"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stage I, below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SOLVER_Stage_1.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110355iD4DC5ABC633EFA9B/image-size/large?v=v2&amp;amp;px=999" role="button" title="SOLVER_Stage_1.jpg" alt="SOLVER_Stage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Stage II, below.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SOLVER_Stage_2.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/110356i797D80ACBBBE48CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="SOLVER_Stage_2.jpg" alt="SOLVER_Stage_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 00:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976288#M4385</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-03T00:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976289#M4386</link>
      <description>&lt;P&gt;I am totally new to SAS/OPT, including the syntax.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inside EXCEL/SOLVER, the final solution for Stage II with TotalScor=-3. It was 3.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 00:18:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976289#M4386</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-03T00:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976394#M4387</link>
      <description>&lt;P&gt;TotalScore.sol is the value of TotalScore from the most recent solver call.&amp;nbsp; You can alternatively use a manually specified threshold.&amp;nbsp; The following code changes yield the same objective values as in your Excel file:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;   con CardinalityMethod:
      sum {m in METHODS} SelectMethod[m] = 1;

   /* primary objective */
   solve;

/*   con MinScore: TotalScore &amp;gt;= TotalScore.sol;*/
   con MinScore: TotalScore &amp;gt;= -5;

   impvar difx {&amp;lt;d,b&amp;gt; in DATE_BLOCK} = 
      sum {&amp;lt;(d),(b),t&amp;gt; in DATE_BLOCK_TREATMENT, m in METHODS} max(_tmin_orig[d,b,t] - outcome[d,b,t,m], 0) * SelectTreatmentMethod[t,m];
   max TotalDif = sum {&amp;lt;d,b&amp;gt; in DATE_BLOCK} difx[d,b];

   /* secondary objective */
   solve with milp / primalin;
   put TotalScore= TotalDif=;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The PUT statement shows the resulting objective values:&lt;/P&gt;
&lt;P&gt;TotalScore=-3 TotalDif=13365&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 21:08:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976394#M4387</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2025-10-03T21:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976401#M4388</link>
      <description>Thanks.</description>
      <pubDate>Sat, 04 Oct 2025 12:38:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976401#M4388</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-04T12:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976693#M4389</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/1636"&gt;@RobPratt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to code-up a penalty function on the difference between _tmin_orig and _tmin_x?!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If _tmin_orig&amp;lt;=_tmin_x, score=-10&lt;/P&gt;
&lt;P&gt;else if _tmin_orig&amp;gt;_tmin_x+60, score=2&lt;/P&gt;
&lt;P&gt;else if&amp;nbsp;_tmin_orig&amp;gt;_tmin_x+36, score=4&lt;/P&gt;
&lt;P&gt;else if _tmin_orig&amp;gt;_tmin_x+24, score=8&lt;/P&gt;
&lt;P&gt;else if _tmin_orig&amp;gt;_tmin_x+12, score=6&lt;/P&gt;
&lt;P&gt;else if&amp;nbsp;_tmin_orig&amp;gt;_tmin_x+6, score=2&lt;/P&gt;
&lt;P&gt;else if&amp;nbsp;_tmin_orig&amp;gt;_tmin_x+0, score=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 16:16:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976693#M4389</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2025-10-09T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: How 2 Find the BEST Improvement on DIF between _tmin_orig and _tmin_x[treatment/method] for BLOC</title>
      <link>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976696#M4390</link>
      <description>&lt;P&gt;Please open a new question for that.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2025 16:55:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Mathematical-Optimization/How-2-Find-the-BEST-Improvement-on-DIF-between-tmin-orig-and/m-p/976696#M4390</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2025-10-09T16:55:36Z</dc:date>
    </item>
  </channel>
</rss>

