brian bovril

894 Reputation

16 Badges

18 years, 41 days

MaplePrimes Activity


These are replies submitted by brian bovril

@acer

 Equal_products_16.mw

As far as I know this is the original file (archived in my Googledrive M16 folder) from 31/1/2014.

It would make me happy if you can fix it!

 

 

@tomleslie Your suggestion fixes the import problem with MS Visual Studio bat files. But according to Acer I didn't need to install it.

I get errors implimenting with the endemic compiler. its a pity Maple doesn't seem to have a feature like Mathematicas update when opening old files.

@acer 

I had archived an old copy of "EqualProducts16.mw. Without running it, it displayed the above (correct) output in M2017.So it used to work. (Joe's Code anyway, Carls doesn't seem to work anymore). But when I try to run it, it complains:


@Kitonum for your efforts with my problem.

I did have a look at your SetPartition  and  Partition procedures before posting. 

Happy New Year!

@Kitonum Genius.

@Axel Vogt Zipping the file and its associated images does the trick. Happy Festive Season!

@acer thankyou, that works!

May I bother you with a supplementary Q?

What I want is code (seq or loop) which automatically assigns

  Tab[A1] := Record(numwins=0,numlost=0,wins=table([]),losses=table([])):
  Tab[B1]:=Record(numwins=0,numlost=0,wins=table([]),losses=table([])):
   Tab[A2]:=Record(numwins=0,numlost=0,wins=table([]),losses=table([])):
   Tab[B2]:=Record(numwins=0,numlost=0,wins=table([]),losses=table([])):
where A1..B2 are hyperlinked as above.

I know my questions are considered by some to be trivial or even foolish, but I do appreciate your help and patience.

Happy Holidays!

@acer I repeated the process, this time adding the image files to my email. same problem.

I exported another sheet,  just normal worksheet with &+- input (sans table), and sent it to myself. Got the same problem....

garbled output.

@tomleslie thankyou Sir. Yes, I forgot to change V back to q[n]....

but how might the constraints be printed one line -one constraint as in the pdf:

 y1=1

x12+y2=1

x13+x23+y3=1

x14+x24+x34+y4=1

This doesn't solve the problem, but it might assist error tracking.

I changed instances of x[cat(i,",",j)] to index(x,i,j) and z[cat(k,",",i)] to  index(z,k,i).

"In the above formulation qk = 1 if bin k is chosen. This means that a bin is started with item k in the left bottom position. yi = 1 if item i initializes level i. xij = 1 if item j goes to the level initialized by item i. zki = 1 if item i initializes a level in bin k. "

 I suppose the statement in the paper would be difficult to program.

From pp4:" z13 = z27 = z2,10 = 1 means that item 3 initializes level 2 in bin 1 while items 7 and 10 initialize two levels in the second bin which is initialized by item 3. "

About as clear as mud.

 

@acer  As you have alluded, this relates to the project you've been helping me with. I'm trying to hyperlink instances of players names programmatically in the final output table. 4 players =4 different urls. Its proving difficult. Everytime I run it, I get errors...... 

@Adam Ledger upload the mma and mw worksheets. Or PM me with those attachments.

@acer Thanks Mr Saccharum

This is a 3 row table:

with(DocumentTools):with(DocumentTools:-Layout):

T := Table(interior = none, exterior = all, Row("Minesoda SL"), Row("7/11/2017"),Row("Summary Report")):InsertContent(Worksheet(T)):

If I wanted to hyperlink the date. I tried this but I didn't print the date at all, let alone hyperlink it. Is this what you mean by "You cannot get a hyperlink in regular printed output"?

HL:=DocumentTools:-Layout:-Hyperlink:
T := Table(interior = none, exterior = all, Row("Minesoda SL"), Row(InsertContent(Worksheet(Group(Input(Textfield(
                                                 HL(Font("7/11/2017",'style'=':-Hyperlink','color'="Blue"),
                                                    'linktarget'="http://www.maplesoft.com"))))))),Row("Summary Report"))

@acer thanks for your interest.

the output is Tab[A1]=Record(......), but what I want is Tab[A1] :=Record(....)

a programmatic approach might work... But i'm trying to keep it in functional style in view of the recent work you did for me. 

@acer upload your reworked worksheet

5 6 7 8 9 10 11 Last Page 7 of 26