i want to make a rescheduling model. I have 2 modes in tuple, I declare it using ID, I want to make a constraint if the costprod * duration in present’s mode in day 1-7 <= earn value than choose mode 2. But I think something missing in model. but I didn’t know where is […]
I am trying to visualize a TIFF on a webpage with an old version of geotiff.js and leaflet js (this script). Unfortunaltely I cannot update them. The old image works. As the images come from an external service I don’t know what changes have been made. No error is shown on the map neither console, […]
UPDATE: I reduced my code to the pivotal elements to shorten it The function_impact_calc is very slow (it takes for 5000 record data.frame 33 secs). I think the main reason is the for loop (maybe apply or map will help?). Below I simulate the data, write impact_calc function and record run time. library(dplyr) library(data.table) library(reshape2) […]
Greetings everyone! Some days ago i decided to include AI engine called L2jroboto from github (https://github.com/Elfocrash/L2jRoboto) into my java emulated server aCis rev372. After all needed actions (installing diff patch, inserting jar library and classes to project) i compilate it and have this error in gameserver console at start. Exception in thread “main” java.lang.Error: Unresolved […]
Hi I am working with RL and I want to plot the rewards for n time steps. For suppose if I have 1 Million time steps I’ll be having the same no of rewards. Now when I plot it the x label gets messier. I would like the xlabel to show like 10K, 20K to […]
so i have try to make something using c++ all the code i make run smoothly without an error but the problem is, the “payment” is not correct it just way to much from the “payment” i tried changing it from “int” into long doesnt work either double and float. here is the code and […]
I am new to C# I am generating random numbers saving into an integer array of size 1 million, then I search user input number and its occurrences in an array using single thread then I search it using 5 threads. My processor has 4 cores. THE PROBLEM is multithreading is taking way more time […]
I am getting this exception while inserting data in Order Table. System.Data.SqlClient.SqlException: ‘Incorrect syntax near the keyword ‘order’.’ Googled this exception to fix. insert into dbo.order(orderStatus, plotTotalCost, totalPaidAmount, installmentAmount, balanceAmount, depositAmount, depositReceiptNo, depositDate, bankName, bankBranchName) values(‘Pending’,’650000′,’0′,’12500′,’600000′,’50000′,’15’, ’07/10/2019′,’HBL’,’Saddar’) Getting System.Data.SqlClient.SqlException: ‘Incorrect syntax near the keyword ‘order’.’ Result: cannot insert data into the Order table.